Commit: 146f2e1d02656ab802f434b653409a215ae31477 Author: Sergey Sharybin Date: Fri Dec 1 12:09:26 2017 +0100 Branches: blender2.8 https://developer.blender.org/rB146f2e1d02656ab802f434b653409a215ae31477
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. =================================================================== M 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); } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs