From 49a7031caae8be7fa556b60b67b3fc978d0d947e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 14 May 2019 10:42:53 +0200 Subject: [PATCH] Fix T64588: some new theme preferences not saving --- source/blender/blenloader/intern/versioning_userdef.c | 11 +++++++---- 1 file 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