UI: disable colored icons in menus for now

Only a few icons are colored, which caused some random icons to be colored and
others not. We can add it back for specific menus later (like add object or
modifiers).
This commit is contained in:
Brecht Van Lommel 2019-05-06 11:50:50 +02:00
parent defc901467
commit b6bf4bda27
1 changed files with 1 additions and 2 deletions

View File

@ -1357,8 +1357,7 @@ bool UI_GetIconThemeColor4fv(int colorid, float col[4])
* to stay monochrome and out of the way except a few places where it
* is important to communicate different data types. */
if (!((theme_spacetype == SPACE_OUTLINER && theme_regionid == RGN_TYPE_WINDOW) ||
(theme_spacetype == SPACE_PROPERTIES && theme_regionid == RGN_TYPE_NAV_BAR) ||
(theme_regionid == RGN_TYPE_TEMPORARY))) {
(theme_spacetype == SPACE_PROPERTIES && theme_regionid == RGN_TYPE_NAV_BAR))) {
return false;
}