Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-07-26 19:50:45 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-07-26 19:50:45 +0400
commitfb520785b65ed67c590e225a8e4a09689470d84e (patch)
tree7ceeaf71cb90093ff4cb098a6ba23967133d451d /source/blender/editors/interface/resources.c
parent0df907c4e2cd715d6454d5356952ab6cf7aaa54a (diff)
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.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c12
1 files changed, 12 insertions, 0 deletions
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;