From 1d4f3e2a2663206e707b00145cf4f13710e2ccac Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Mon, 16 Nov 2020 13:54:05 -0700 Subject: 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 --- source/blender/blenloader/intern/versioning_userdef.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenloader/intern/versioning_userdef.c') 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 -- cgit v1.2.3