diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-25 11:02:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-25 11:02:00 +0300 |
commit | 4f363283eb2cd4f54a8278051c85ded18d1efa4a (patch) | |
tree | d6a18e5581530748fa19bf84405d4c43f8683b2f /source/blender | |
parent | 829cbd88ff5cef4ce31051562c1449fe5e565a88 (diff) |
Fix T67593: Crash when making link for instance collection
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index e6637265fbc..ff31cbc4590 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -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); |