diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-01 14:09:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-01 14:09:26 +0300 |
commit | 146f2e1d02656ab802f434b653409a215ae31477 (patch) | |
tree | dad847231c72ad44f586545fdc801434586d9c9b /source/blender | |
parent | ecbdc3f1d4793ac93f8f9131cab7f21b9f097712 (diff) |
Depsgraph: Use new per-ID tags to see whether object in a group needs an update
This wouldn't be less precise than object level flag in theory, and we need to
move away from such a duplicating flags.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c index 0fd6685242f..f4555ceac38 100644 --- a/source/blender/blenkernel/intern/group.c +++ b/source/blender/blenkernel/intern/group.c @@ -354,7 +354,7 @@ void BKE_group_handle_recalc_and_update(const struct EvaluationContext *eval_ctx /* only do existing tags, as set by regular depsgraph */ for (go = group->gobject.first; go; go = go->next) { if (go->ob) { - if (go->ob->recalc) { + if (go->ob->id.tag & LIB_TAG_ID_RECALC_ALL) { BKE_object_handle_update(eval_ctx, scene, go->ob); } } |