[Bf-blender-cvs] [fb8d65d] layer-manager: Don't draw meaningless dot-icon for layers

Julian Eisel noreply at git.blender.org
Sat Oct 15 20:58:23 CEST 2016


Commit: fb8d65d8c1c74189d6c247cbf106e359515d274b
Author: Julian Eisel
Date:   Fri Oct 14 02:03:18 2016 +0200
Branches: layer-manager
https://developer.blender.org/rBfb8d65d8c1c74189d6c247cbf106e359515d274b

Don't draw meaningless dot-icon for layers

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

M	source/blender/editors/space_outliner/outliner_draw.c

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

diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index c22745a..c6f143e 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1575,8 +1575,7 @@ static void outliner_draw_tree_element(
 		
 		/* datatype icon */
 		
-		if (!(ELEM(tselem->type, TSE_RNA_PROPERTY, TSE_RNA_ARRAY_ELEM))) {
-			
+		if (!(ELEM(tselem->type, TSE_RNA_PROPERTY, TSE_RNA_ARRAY_ELEM, TSE_OBJECT_LAYER))) {
 			tselem_draw_icon(block, xmax, (float)startx + offsx, (float)*starty, tselem, te, 1.0f);
 			
 			offsx += UI_UNIT_X;




More information about the Bf-blender-cvs mailing list