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.
This commit is contained in:
Sergey Sharybin
2017-12-01 12:09:26 +01:00
parent ecbdc3f1d4
commit 146f2e1d02

View File

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