Fix T67593: Crash when making link for instance collection

This commit is contained in:
Sergey Sharybin 2019-07-25 10:02:00 +02:00
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
1 changed files with 1 additions and 0 deletions

View File

@ -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);