diff options
author | Julian Eisel <julian@blender.org> | 2020-03-23 18:43:54 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-23 18:43:54 +0300 |
commit | 24b27ea231154ce0d0b67402aeee00f63ab41f63 (patch) | |
tree | b9f730ca9ec91711be783786026ed6fa633525cc /source/blender/blenloader/intern/versioning_userdef.c | |
parent | c95b522856c590e31278548ec02bbac1a64e217d (diff) |
Bump subversion for previous theme additions
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 2d2641aca8b..a88e4e20d68 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -205,6 +205,12 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) FROM_DEFAULT_V4_UCHAR(space_sequencer.mask); } + if (!USER_VERSION_ATLEAST(283, 11)) { + FROM_DEFAULT_V4_UCHAR(tui.transparent_checker_primary); + FROM_DEFAULT_V4_UCHAR(tui.transparent_checker_secondary); + btheme->tui.transparent_checker_size = U_theme_default.tui.transparent_checker_size; + } + /** * Versioning code until next subversion bump goes here. * @@ -216,9 +222,6 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) */ { /* Keep this block, even when empty. */ - FROM_DEFAULT_V4_UCHAR(tui.transparent_checker_primary); - FROM_DEFAULT_V4_UCHAR(tui.transparent_checker_secondary); - btheme->tui.transparent_checker_size = U_theme_default.tui.transparent_checker_size; } #undef FROM_DEFAULT_V4_UCHAR |