Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-13 16:39:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-13 16:43:32 +0300
commit81f135677be419a505a38f5a23354690a75b678b (patch)
treeb5e3dede5a4b7693affa9ad4c27c51dbe3a2ff78 /source/blender/blenloader
parent4838512e7d495cb74ac599a8cd4c788d006c843c (diff)
Depsgraph: Cleanup, use less explicit checks of LIB_TAG_ID_RECALC_DATA
This is a part of ongoing work in Blender 2.8, where we need to replace `object->id.tag & LIB_TAG_ID_RECALC_DATA` with `object->data->id.tag & LIB_TAG_ID_RECALC` Should be no user measurable difference.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 5e12fc969ab..b6543fc8662 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3077,7 +3077,7 @@ static void direct_link_nodetree(FileData *fd, bNodeTree *ntree)
ntree->adt = newdataadr(fd, ntree->adt);
direct_link_animdata(fd, ntree->adt);
- ntree->id.tag &= ~(LIB_TAG_ID_RECALC|LIB_TAG_ID_RECALC_DATA);
+ ntree->id.tag &= ~LIB_TAG_ID_RECALC_ALL;
link_list(fd, &ntree->nodes);
for (node = ntree->nodes.first; node; node = node->next) {