Fix T53583: Crash when instancing a group with an armature
There is still a crash that you get because the draw manager needs to handle duplis differently. But the initial assert caused by this particular file is now fixed.
This commit is contained in:
parent
2bbfce631d
commit
672c9a9a6d
Notes:
blender-bot
2023-02-14 07:25:46 +01:00
Referenced by issue #53583, Crash when instancing a group with an armature (might be only on mesa/intel GPUs ?).
|
@ -1100,6 +1100,7 @@ static int group_instance_add_exec(bContext *C, wmOperator *op)
|
|||
|
||||
/* works without this except if you try render right after, see: 22027 */
|
||||
DEG_relations_tag_update(bmain);
|
||||
DEG_id_tag_update(&group->id, 0);
|
||||
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_OB_ACTIVE, scene);
|
||||
|
||||
|
|
Loading…
Reference in New Issue