Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-01-18 22:30:35 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-01-18 22:30:37 +0300
commitf1cfe675948c1bdae3f3d8323a623740f6be2fe0 (patch)
tree1728f7771ab75667eb167ed610be8c2aa83cc69d /source/blender/editors/space_outliner
parent74f872df3a0d45cba58540f240101ce4724f11d0 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c4
1 files changed, 4 insertions, 0 deletions
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: