Fix T67593: Crash when making link for instance collection
This commit is contained in:
parent
829cbd88ff
commit
4f363283eb
Notes:
blender-bot
2023-02-14 05:25:44 +01:00
Referenced by issue #67671, Blender crashes when sidebar in Shader Editor is resized Referenced by issue #67593, Crash when making link for instance collection
|
@ -1582,6 +1582,7 @@ static int make_links_data_exec(bContext *C, wmOperator *op)
|
|||
id_us_plus(&ob_dst->instance_collection->id);
|
||||
ob_dst->transflag |= OB_DUPLICOLLECTION;
|
||||
}
|
||||
DEG_id_tag_update(&ob_dst->id, ID_RECALC_COPY_ON_WRITE);
|
||||
break;
|
||||
case MAKE_LINKS_MODIFIERS:
|
||||
BKE_object_link_modifiers(scene, ob_dst, ob_src);
|
||||
|
|
Loading…
Reference in New Issue