Merge branch 'master' into blender2.8
[blender.git] / source / blender / collada / collada_utils.cpp
index 945dda6..cb4ee62 100644 (file)
@@ -449,7 +449,8 @@ void bc_triangulate_mesh(Mesh *me)
        BM_mesh_triangulate(bm, quad_method, use_beauty, tag_only, NULL, NULL, NULL);
 
        BMeshToMeshParams bm_to_me_params = {0};
-       BM_mesh_bm_to_me(bm, me, &bm_to_me_params);
+       bm_to_me_params.calc_object_remap = false;
+       BM_mesh_bm_to_me(NULL, bm, me, &bm_to_me_params);
        BM_mesh_free(bm);
 }