Fix T63075: edit mode crash with deforming modifiers, after recent changes.

This commit is contained in:
Brecht Van Lommel
2019-03-29 14:53:56 +01:00
parent 800aeaba72
commit 0cd36ccfaf

View File

@@ -1789,8 +1789,8 @@ static void editbmesh_calc_modifiers(
if (mesh_final != mesh_cage) {
BKE_id_free(NULL, mesh_final);
}
BKE_mesh_apply_vert_coords(mesh_final, deformed_verts);
mesh_final = mesh_tmp;
BKE_mesh_apply_vert_coords(mesh_final, deformed_verts);
}
}
else if (!deformed_verts && mesh_cage) {