diff options
author | Robert Guetzkow <gitcommit@outlook.de> | 2021-01-26 14:41:47 +0300 |
---|---|---|
committer | Robert Guetzkow <gitcommit@outlook.de> | 2021-01-26 14:41:47 +0300 |
commit | 74633c0456b62b35a925c45cbff30508e53e86e9 (patch) | |
tree | 80202d41232849f4b789e38a1a8b0be0c7e2a56b /source/blender/blenloader | |
parent | f066cee92fe8dec37c50618b499e20dfd7c11249 (diff) | |
parent | c399651637a3a9c8e416b8baffc571fa8cfa571f (diff) |
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 555b2453c62..d1cbf05c0ba 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -1504,7 +1504,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) if (!MAIN_VERSION_ATLEAST(bmain, 292, 10)) { if (!DNA_struct_find(fd->filesdna, "NodeSetAlpha")) { - LISTBASE_FOREACH (bNodeTree *, ntree, &bmain->nodetrees) { + FOREACH_NODETREE_BEGIN (bmain, ntree, id) { if (ntree->type != NTREE_COMPOSIT) { continue; } @@ -1517,6 +1517,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) node->storage = storage; } } + FOREACH_NODETREE_END; } LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { |