Commit: 0b7edf105d12f7a2ef66cd28485faa0ec8bff849
Author: Pablo Vazquez
Date:   Thu Jun 21 00:32:56 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB0b7edf105d12f7a2ef66cd28485faa0ec8bff849

UI: Icons for Outliner display modes

We need a better icon for Orphan Data

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

M       source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/makesrna/intern/rna_space.c 
b/source/blender/makesrna/intern/rna_space.c
index 3e53e5a6434..3bf55ee2632 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2214,12 +2214,12 @@ static void rna_def_space_outliner(BlenderRNA *brna)
        PropertyRNA *prop;
 
        static const EnumPropertyItem display_mode_items[] = {
-               {SO_SCENES, "SCENES", 0, "Scenes", "Display scenes and their 
view layers, collections and objects"},
-               {SO_VIEW_LAYER, "VIEW_LAYER", 0, "View Layer", "Display 
collections and objects in the view layer"},
-               {SO_SEQUENCE, "SEQUENCE", 0, "Sequence", "Display sequence 
data-blocks"},
-               {SO_LIBRARIES, "LIBRARIES", 0, "Blender File", "Display data of 
current file and linked libraries"},
-               {SO_DATA_API, "DATA_API", 0, "Data API", "Display low level 
Blender data and its properties"},
-               {SO_ID_ORPHANS, "ORPHAN_DATA", 0, "Orphan Data",
+               {SO_SCENES, "SCENES", ICON_SCENE_DATA, "Scenes", "Display 
scenes and their view layers, collections and objects"},
+               {SO_VIEW_LAYER, "VIEW_LAYER",ICON_RENDER_RESULT, "View Layer", 
"Display collections and objects in the view layer"},
+               {SO_SEQUENCE, "SEQUENCE", ICON_SEQUENCE, "Sequence", "Display 
sequence data-blocks"},
+               {SO_LIBRARIES, "LIBRARIES", ICON_FILE_BLEND, "Blender File", 
"Display data of current file and linked libraries"},
+               {SO_DATA_API, "DATA_API", ICON_RNA, "Data API", "Display low 
level Blender data and its properties"},
+               {SO_ID_ORPHANS, "ORPHAN_DATA", ICON_EXTERNAL_DATA, "Orphan 
Data",
                                "Display data-blocks which are unused and/or 
will be lost when the file is reloaded"},
                {0, NULL, 0, NULL, NULL}
        };

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

Reply via email to