Fix incorrect object selection test in outliner and rigid body.

This commit is contained in:
2018-06-11 11:40:26 +02:00
parent 0461f45e5e
commit 73b9531dcf
3 changed files with 18 additions and 13 deletions

View File

@@ -1338,12 +1338,11 @@ static void tag_dependend_object_for_render(Scene *scene, Object *object)
break;
case PART_DRAW_GR:
if (part->dup_group != NULL) {
FOREACH_COLLECTION_BASE_RECURSIVE_BEGIN(part->dup_group, base)
FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN(part->dup_group, ob)
{
Object *ob = base->object;
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
}
FOREACH_COLLECTION_BASE_RECURSIVE_END
FOREACH_COLLECTION_OBJECT_RECURSIVE_END;
}
break;
}