diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-22 11:22:06 +0300 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-22 11:22:06 +0300 |
commit | d82ff93fa57dca44e7892791a53582d86aae9b2e (patch) | |
tree | cab02c2525ed5f8b8d7b05cd2142194cef1f1e78 /source/blender/blenloader/intern/readfile.c | |
parent | 8b5d019139698383145d8613b457b69e063b3421 (diff) |
Small fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated in future.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 83e6826b603..8501c11e5d5 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2127,6 +2127,9 @@ static void lib_verify_nodetree(Main *main, int UNUSED(open)) if(tx->nodetree) lib_nodetree_do_versions_group(tx->nodetree); } + + for(ntree= main->nodetree.first; ntree; ntree= ntree->id.next) + ntree->flag &= ~NTREE_DO_VERSIONS; } /* now verify all types in material trees, groups are set OK now */ |