Fix: Apply correct versioning for prior FCurve change

Missed in 2536ddac0d

Pull Request: https://projects.blender.org/blender/blender/pulls/131520
This commit is contained in:
Sean Kim
2024-12-06 23:30:00 +01:00
committed by Sean Kim
parent 76c699ada5
commit 569003f70b
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,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 cancel loading the file, showing a warning to

View File

@@ -5185,7 +5185,7 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
}
}
if (!MAIN_VERSION_FILE_ATLEAST(bmain, 404, 9)) {
if (!MAIN_VERSION_FILE_ATLEAST(bmain, 404, 10)) {
LISTBASE_FOREACH (bAction *, dna_action, &bmain->actions) {
blender::animrig::Action &action = dna_action->wrap();
blender::animrig::foreach_fcurve_in_action(