Fix T72340: Version bump for recent Userdef changes
Updates blender subversion in order to properly handle recent userdef theme changes. Differential Revision: https://developer.blender.org/D6388 Reviewed by Campbell Barton
This commit is contained in:
parent
63d521432e
commit
d1631c9f03
Notes:
blender-bot
2024-05-08 11:36:44 +02:00
Referenced by issue #72340, Face orientation color (front and back) doesn't stay saved
|
@ -27,7 +27,7 @@
|
|||
* \note Use #STRINGIFY() rather than defining with quotes.
|
||||
*/
|
||||
#define BLENDER_VERSION 282
|
||||
#define BLENDER_SUBVERSION 4
|
||||
#define BLENDER_SUBVERSION 5
|
||||
/** Several breakages with 280, e.g. collections vs layers. */
|
||||
#define BLENDER_MINVERSION 280
|
||||
#define BLENDER_MINSUBVERSION 0
|
||||
|
|
|
@ -156,10 +156,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
|
|||
copy_v4_v4_uchar(btheme->space_nla.nla_track, btheme->space_nla.header);
|
||||
}
|
||||
|
||||
/**
|
||||
* Include next version bump.
|
||||
*/
|
||||
{
|
||||
if (!USER_VERSION_ATLEAST(282, 5)) {
|
||||
FROM_DEFAULT_V4_UCHAR(space_sequencer.anim_preview_range);
|
||||
FROM_DEFAULT_V4_UCHAR(space_text.line_numbers);
|
||||
FROM_DEFAULT_V4_UCHAR(tui.widget_text_cursor);
|
||||
|
@ -167,6 +164,12 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
|
|||
FROM_DEFAULT_V4_UCHAR(space_view3d.face_front);
|
||||
}
|
||||
|
||||
/* Versioning code until next subversion bump goes here.
|
||||
* Note: be sure to check "versioning_{BLENDER_VERSION}.c" when bumping the version.
|
||||
* Note: keep this message at the bottom of the function. */
|
||||
{
|
||||
}
|
||||
|
||||
#undef FROM_DEFAULT_V4_UCHAR
|
||||
|
||||
#undef USER_VERSION_ATLEAST
|
||||
|
|
Loading…
Reference in New Issue