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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user