Fix: Incorrect file subversion for geometry node versioning
rBe2f99c338bd57 should have used the subversion currently defined in Blender, instead it used one lower, so some files didn't have the versioning applied.
This commit is contained in:
parent
5e0684b07d
commit
6a00e7a428
|
@ -1219,7 +1219,7 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
|||
}
|
||||
}
|
||||
|
||||
if (!MAIN_VERSION_ATLEAST(bmain, 300, 21)) {
|
||||
if (!MAIN_VERSION_ATLEAST(bmain, 300, 22)) {
|
||||
LISTBASE_FOREACH (bNodeTree *, ntree, &bmain->nodetrees) {
|
||||
if (ntree->type == NTREE_GEOMETRY) {
|
||||
version_geometry_nodes_change_legacy_names(ntree);
|
||||
|
|
Loading…
Reference in New Issue