Fix: Asset Shelf theme versioning

Colors were not reset properly.
This commit is contained in:
Pablo Vazquez
2025-06-18 15:50:20 +02:00
parent 1cb548fccf
commit 6411c433d2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
}