diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-11-16 23:54:05 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-11-16 23:54:05 +0300 |
commit | 1d4f3e2a2663206e707b00145cf4f13710e2ccac (patch) | |
tree | f1a1f1e4f9e0e4c6cfb6d0e60f870d83f59ed4fb /source/blender/blenloader/intern/versioning_userdef.c | |
parent | 457d537fe4f33cfb16e5672404aa9f87797d9d23 (diff) |
Outliner: Collection icon color tweaks
The icons originally chosen for the collection colors were selected
during development and had a few issues with contrast in the light
theme, and the gray color was not a good choice against the default gray
backgrounds.
The new colors are more readable in both default Blender themes. Gray
was replaced with pink.
Differential Revision: https://developer.blender.org/D9504
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 6b6d226bd90..f76fac23e96 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -257,6 +257,9 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) */ { /* Keep this block, even when empty. */ + for (int i = 0; i < COLLECTION_COLOR_TOT; ++i) { + FROM_DEFAULT_V4_UCHAR(collection_color[i].color); + } } #undef FROM_DEFAULT_V4_UCHAR |