Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / mesh / editmesh_utils.c
index 132ac0d30b73bb5f72002e712f2ed8015211b3ce..7b727e75b559f2245c291d945d36466afc6d8406 100644 (file)
@@ -381,7 +381,10 @@ void EDBM_mesh_load(Object *ob)
                bm->shapenr = 1;
        }
 
-       BM_mesh_bm_to_me(bm, me, (&(struct BMeshToMeshParams){0}));
+       BM_mesh_bm_to_me(
+               bm, me, (&(struct BMeshToMeshParams){
+                   .calc_object_remap = true,
+               }));
 
 #ifdef USE_TESSFACE_DEFAULT
        BKE_mesh_tessface_calc(me);