From a86b5df005d0c474de973215b112f404902b2607 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 25 May 2020 10:49:04 +0200 Subject: Blender: change bugfix release versioning from a/b/c to .1/.2/.3 The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748 --- release/datafiles/userdef/userdef_default.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'release/datafiles') diff --git a/release/datafiles/userdef/userdef_default.c b/release/datafiles/userdef/userdef_default.c index 9771530ff18..d31c59f0d55 100644 --- a/release/datafiles/userdef/userdef_default.c +++ b/release/datafiles/userdef/userdef_default.c @@ -19,10 +19,10 @@ /* For constants. */ #include "BLI_math_base.h" -#include "DNA_userdef_types.h" +#include "DNA_anim_types.h" #include "DNA_curve_types.h" #include "DNA_space_types.h" -#include "DNA_anim_types.h" +#include "DNA_userdef_types.h" #include "BLI_math_rotation.h" @@ -31,8 +31,8 @@ #include "BLO_readfile.h" /* own include */ const UserDef U_default = { - .versionfile = BLENDER_VERSION, - .subversionfile = BLENDER_SUBVERSION, + .versionfile = BLENDER_FILE_VERSION, + .subversionfile = BLENDER_FILE_SUBVERSION, .flag = (USER_AUTOSAVE | USER_TOOLTIPS | USER_SAVE_PREVIEWS | USER_RELPATHS | USER_RELEASECONFIRM | USER_SCRIPT_AUTOEXEC_DISABLE | USER_NONEGFRAMES), .dupflag = USER_DUP_MESH | USER_DUP_CURVE | USER_DUP_SURF | USER_DUP_FONT | USER_DUP_MBALL | -- cgit v1.2.3