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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to