From 146f2e1d02656ab802f434b653409a215ae31477 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 1 Dec 2017 12:09:26 +0100 Subject: 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. --- source/blender/blenkernel/intern/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/group.c') 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); } } -- cgit v1.2.3