Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / source / blender / editors / object / object_relations.c
index 14cbcfc7fd0b46a24e3ca2811b4ac6bca1c7df33..41c1669adddf702b0ffc41fb2c4dca42e80381f5 100644 (file)
@@ -1574,7 +1574,7 @@ static int make_links_data_exec(bContext *C, wmOperator *op)
                                                        Material *ma = give_current_material(ob_src, a + 1);
                                                        assign_material(ob_dst, ma, a + 1, BKE_MAT_ASSIGN_USERPREF); /* also works with ma==NULL */
                                                }
-                                               DAG_id_tag_update(&ob_dst->id, 0);
+                                               DAG_id_tag_update(&ob_dst->id, OB_RECALC_DATA);
                                                break;
                                        case MAKE_LINKS_ANIMDATA:
                                                BKE_animdata_copy_id((ID *)ob_dst, (ID *)ob_src, false);