From fb520785b65ed67c590e225a8e4a09689470d84e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 26 Jul 2012 15:50:45 +0000 Subject: Run versioning stuff for animation summary color again Seems it was messed up at some point or changes weren't applied synchronized, which lead to lots of files with wrong color used. --- source/blender/editors/interface/resources.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source/blender/editors/interface/resources.c') diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index ba6f1be4289..9489e6b5440 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -1924,6 +1924,18 @@ void init_userdef_do_versions(void) } } + if (bmain->versionfile < 263 || (bmain->versionfile == 263 && bmain->subversionfile < 16)) { + bTheme *btheme; + + for (btheme = U.themes.first; btheme; btheme = btheme->next) { + if (btheme->tact.anim_active[3] == 0) + rgba_char_args_set(btheme->tact.anim_active, 204, 112, 26, 102); + + if (btheme->tnla.anim_active[3] == 0) + rgba_char_args_set(btheme->tnla.anim_active, 204, 112, 26, 102); + } + } + /* GL Texture Garbage Collection (variable abused above!) */ if (U.textimeout == 0) { U.texcollectrate = 60; -- cgit v1.2.3