Fix #147926: Incorrect Icon used for Generic Collection
We have icons that represent specific individual collections. like Icon_Outliner_Collection for a default (uncolored) collection, and Icon_Collection_color_x for ones with colors. For "collections" as a general thing though we have icon_group. Sometimes we confuse the two, for example the list of tabs to show in Properties uses a different icon than the actual category icon. This PR fixes the complaint by using the correct icon for each of these purposes. Pull Request: https://projects.blender.org/blender/blender/pulls/147942
This commit is contained in:
committed by
Harley Acheson
parent
ebbc034e44
commit
6691529dcc
@@ -472,7 +472,7 @@ class OUTLINER_PT_filter(Panel):
|
|||||||
row.prop(space, "use_filter_view_layers", text="All View Layers")
|
row.prop(space, "use_filter_view_layers", text="All View Layers")
|
||||||
|
|
||||||
row = col.row()
|
row = col.row()
|
||||||
row.label(icon='OUTLINER_COLLECTION')
|
row.label(icon='GROUP')
|
||||||
row.prop(space, "use_filter_collection", text="Collections")
|
row.prop(space, "use_filter_collection", text="Collections")
|
||||||
|
|
||||||
row = col.row()
|
row = col.row()
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ tab_list = [
|
|||||||
("show_properties_view_layer", "View Layer", 'RENDERLAYERS'),
|
("show_properties_view_layer", "View Layer", 'RENDERLAYERS'),
|
||||||
("show_properties_scene", "Scene", 'SCENE_DATA'),
|
("show_properties_scene", "Scene", 'SCENE_DATA'),
|
||||||
("show_properties_world", "World", 'WORLD'),
|
("show_properties_world", "World", 'WORLD'),
|
||||||
("show_properties_collection", "Collection", 'OUTLINER_COLLECTION'),
|
("show_properties_collection", "Collection", 'GROUP'),
|
||||||
("show_properties_object", "Object", 'OBJECT_DATA'),
|
("show_properties_object", "Object", 'OBJECT_DATA'),
|
||||||
("show_properties_modifiers", "Modifiers", 'MODIFIER'),
|
("show_properties_modifiers", "Modifiers", 'MODIFIER'),
|
||||||
("show_properties_effects", "Effects", 'SHADERFX'),
|
("show_properties_effects", "Effects", 'SHADERFX'),
|
||||||
|
|||||||
@@ -2028,7 +2028,7 @@ int UI_icon_from_idcode(const int idcode)
|
|||||||
case ID_GD_LEGACY:
|
case ID_GD_LEGACY:
|
||||||
return ICON_OUTLINER_DATA_GREASEPENCIL;
|
return ICON_OUTLINER_DATA_GREASEPENCIL;
|
||||||
case ID_GR:
|
case ID_GR:
|
||||||
return ICON_OUTLINER_COLLECTION;
|
return ICON_GROUP;
|
||||||
case ID_IM:
|
case ID_IM:
|
||||||
return ICON_IMAGE_DATA;
|
return ICON_IMAGE_DATA;
|
||||||
case ID_LA:
|
case ID_LA:
|
||||||
|
|||||||
Reference in New Issue
Block a user