[Bf-blender-cvs] [65df9cc] soc-2016-layer_manager: Correct direction of layer group collapse icon

Julian Eisel noreply at git.blender.org
Thu Jun 30 20:40:25 CEST 2016


Commit: 65df9ccbb438c8a99d49f55f02011b8568e9f904
Author: Julian Eisel
Date:   Thu Jun 30 20:38:23 2016 +0200
Branches: soc-2016-layer_manager
https://developer.blender.org/rB65df9ccbb438c8a99d49f55f02011b8568e9f904

Correct direction of layer group collapse icon

===================================================================

M	source/blender/editors/scene/layer_types.c

===================================================================

diff --git a/source/blender/editors/scene/layer_types.c b/source/blender/editors/scene/layer_types.c
index 3d0d8d4..1cdb8a2 100644
--- a/source/blender/editors/scene/layer_types.c
+++ b/source/blender/editors/scene/layer_types.c
@@ -93,7 +93,7 @@ static void layer_group_draw(const bContext *C, LayerTreeItem *litem, uiLayout *
 	uiBut *but;
 
 	UI_block_emboss_set(block, UI_EMBOSS_NONE);
-	but = uiDefIconButBitI(block, UI_BTYPE_ICON_TOGGLE, LAYERTILE_CLOSED, 0,
+	but = uiDefIconButBitI(block, UI_BTYPE_ICON_TOGGLE_N, LAYERTILE_CLOSED, 0,
 	                 ICON_TRIA_RIGHT, 0, 0, UI_UNIT_X, UI_UNIT_Y, &tile->flag,
 	                 0.0f, 0.0f, 0.0f, 0.0f, TIP_("Toggle display of layer children"));
 	UI_block_emboss_set(block, UI_EMBOSS);




More information about the Bf-blender-cvs mailing list