diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-09-15 21:22:03 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-09-15 21:47:09 +0300 |
commit | 4c3813fb32567805ef6eac708e3602c2d367cc58 (patch) | |
tree | 2f828ef9050350bbc4fe8e6de87d38abc70c778e /source/blender/editors/interface | |
parent | 452a1c7b38383fd3f51532c429912677864e4a33 (diff) |
UI: Show color tagged collection icons in menus
Draw color tagged collection icons in the link to collection, add
collection instance, collection instance search, and remove collection
menus.
Manifest Task: https://developer.blender.org/T77777
Differential Revision: https://developer.blender.org/D8622
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index 7008d22becc..951321b93e6 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -2170,6 +2170,9 @@ int ui_id_icon_get(const bContext *C, ID *id, const bool big) case ID_SCR: iconid = ui_id_screen_get_icon(C, id); break; + case ID_GR: + iconid = UI_collection_color_icon_get((Collection *)id); + break; default: break; } |