File version bump
This commit is contained in:
parent
31bf8307af
commit
787af651a7
|
@ -39,7 +39,7 @@ extern "C" {
|
|||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 9
|
||||
#define BLENDER_FILE_SUBVERSION 10
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and show a warning if the file
|
||||
|
|
|
@ -246,6 +246,12 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
|
|||
FROM_DEFAULT_V4_UCHAR(space_graph.vertex_active);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(291, 10)) {
|
||||
for (int i = 0; i < COLLECTION_COLOR_TOT; ++i) {
|
||||
FROM_DEFAULT_V4_UCHAR(collection_color[i].color);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Versioning code until next subversion bump goes here.
|
||||
*
|
||||
|
@ -257,9 +263,6 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
|
|||
*/
|
||||
{
|
||||
/* Keep this block, even when empty. */
|
||||
for (int i = 0; i < COLLECTION_COLOR_TOT; ++i) {
|
||||
FROM_DEFAULT_V4_UCHAR(collection_color[i].color);
|
||||
}
|
||||
}
|
||||
|
||||
#undef FROM_DEFAULT_V4_UCHAR
|
||||
|
|
Loading…
Reference in New Issue