Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / mesh / editmesh_tools.c
index ff1cd7224cd3f21b2811e7a2ee44ab71bb1137f3..a71b03b6ff7a2f290d9600358b25c9193d33b9e6 100644 (file)
@@ -3374,7 +3374,11 @@ static int edbm_separate_exec(bContext *C, wmOperator *op)
                                        }
 
                                        if (retval_iter) {
-                                               BM_mesh_bm_to_me(bm_old, me, (&(struct BMeshToMeshParams){0}));
+                                               BM_mesh_bm_to_me(
+                                                       bm_old, me,
+                                                       (&(struct BMeshToMeshParams){
+                                                           .calc_object_remap = true,
+                                                       }));
 
                                                DEG_id_tag_update(&me->id, OB_RECALC_DATA);
                                                WM_event_add_notifier(C, NC_GEOM | ND_DATA, me);