Modifier: use simplified bmesh -> mesh conversion

This commit is contained in:
2018-10-10 13:13:17 +11:00
parent 633e2cddd7
commit c61142c0b5
16 changed files with 17 additions and 22 deletions

View File

@@ -162,7 +162,7 @@ static void deformVerts(
if (edit_btmesh) {
/* In edit mode get directly from the edit mesh. */
psmd->mesh_original = BKE_mesh_from_bmesh_nomain(edit_btmesh->bm, &(struct BMeshToMeshParams){0});
psmd->mesh_original = BKE_mesh_from_bmesh_for_eval_nomain(edit_btmesh->bm, 0);
}
else {
/* Otherwise get regular mesh. */