[Bf-blender-cvs] [f1cfe675948] blender2.8: Outliner: Use (temporary) icons for collections
Dalai Felinto
noreply at git.blender.org
Thu Jan 18 20:33:03 CET 2018
Commit: f1cfe675948c1bdae3f3d8323a623740f6be2fe0
Author: Dalai Felinto
Date: Thu Jan 18 17:30:35 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBf1cfe675948c1bdae3f3d8323a623740f6be2fe0
Outliner: Use (temporary) icons for collections
We need new icons for collections.
Yet we are using them in a few places, so we may as well be consistent and use
it everywhere.
===================================================================
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 e2d60ef2f43..8f46767711f 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1108,6 +1108,10 @@ static void tselem_draw_icon(uiBlock *block, int xmax, float x, float y, TreeSto
ICON_DRAW(icon);
}
break;
+ case TSE_LAYER_COLLECTION:
+ case TSE_SCENE_COLLECTION:
+ ICON_DRAW(ICON_COLLAPSEMENU);
+ break;
/* Removed the icons from outliner. Need a better structure with Layers, Palettes and Colors */
#if 0
case TSE_GP_LAYER:
More information about the Bf-blender-cvs
mailing list