Fix: Asset Shelf theme versioning
Colors were not reset properly.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 15
|
||||
#define BLENDER_FILE_SUBVERSION 16
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and cancel loading the file, showing a warning to
|
||||
|
||||
@@ -317,7 +317,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
|
||||
FROM_DEFAULT_V4_UCHAR(space_node.nodeclass_vector);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(500, 15)) {
|
||||
if (!USER_VERSION_ATLEAST(500, 16)) {
|
||||
FROM_DEFAULT_V4_UCHAR(asset_shelf.header_back);
|
||||
FROM_DEFAULT_V4_UCHAR(asset_shelf.back);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user