diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-14 11:42:53 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-14 11:42:53 +0300 |
commit | 49a7031caae8be7fa556b60b67b3fc978d0d947e (patch) | |
tree | 3dfb57f1b46328529ae5829aa4380511b71469e8 | |
parent | 153c144053cc1e51ca2564e8ac61271ab39d6716 (diff) |
Fix T64588: some new theme preferences not saving
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 24eac507945..30374e6c63d 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -114,10 +114,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) FROM_DEFAULT_V4_UCHAR(space_info.info_info); } - /** - * Include next version bump. - */ - { + if (!USER_VERSION_ATLEAST(280, 64)) { FROM_DEFAULT_V4_UCHAR(tui.icon_scene); if (btheme->space_view3d.obcenter_dia == 0) { @@ -137,6 +134,12 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) FROM_DEFAULT_V4_UCHAR(space_clip.scrubbing_background); } + /** + * Include next version bump. + */ + { + } + #undef FROM_DEFAULT_V4_UCHAR #undef USER_VERSION_ATLEAST |