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:
Hans Goudey 2021-09-10 13:26:46 -05:00
parent 5e0684b07d
commit 6a00e7a428
1 changed files with 1 additions and 1 deletions

View File

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