[Bf-blender-cvs] [4f363283eb2] master: Fix T67593: Crash when making link for instance collection
Sergey Sharybin
noreply at git.blender.org
Thu Jul 25 10:02:18 CEST 2019
Commit: 4f363283eb2cd4f54a8278051c85ded18d1efa4a
Author: Sergey Sharybin
Date: Thu Jul 25 10:02:00 2019 +0200
Branches: master
https://developer.blender.org/rB4f363283eb2cd4f54a8278051c85ded18d1efa4a
Fix T67593: Crash when making link for instance collection
===================================================================
M source/blender/editors/object/object_relations.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list