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:
authorCampbell Barton <ideasman42@gmail.com>2020-03-19 03:40:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-19 04:09:53 +0300
commitb62e1146e13cf94e14d7ef8003b8a4cde87d0437 (patch)
tree077a3ceaea67da205595644729ef577ab1c70af0 /source/blender/blenloader
parent014e569258519cbba56fce9a6a29b208ccdbb1f2 (diff)
UI: add view aligned gizmo color
Was hard coded to white making white backgrounds impractical. D7162 by @billreynish with edits.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index 0f749785a47..8ed853e97c4 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -196,6 +196,15 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
FROM_DEFAULT_V4_UCHAR(space_info.info_warning);
}
+ if (!USER_VERSION_ATLEAST(283, 10)) {
+ FROM_DEFAULT_V4_UCHAR(tui.gizmo_view_align);
+
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.active_strip);
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.selected_strip);
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.color_strip);
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.mask);
+ }
+
/**
* Versioning code until next subversion bump goes here.
*
@@ -207,10 +216,6 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
*/
{
/* Keep this block, even when empty. */
- FROM_DEFAULT_V4_UCHAR(space_sequencer.active_strip);
- FROM_DEFAULT_V4_UCHAR(space_sequencer.selected_strip);
- FROM_DEFAULT_V4_UCHAR(space_sequencer.color_strip);
- FROM_DEFAULT_V4_UCHAR(space_sequencer.mask);
}
#undef FROM_DEFAULT_V4_UCHAR