Fixed the "Enable modifier during editmode" button for the case when there are

only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.
This commit is contained in:
Ben Batt
2007-05-16 15:19:54 +00:00
parent 05dcd05520
commit 8bfa253479

View File

@@ -2024,7 +2024,7 @@ static void editmesh_calc_modifiers(DerivedMesh **cage_r,
CDDM_calc_normals(*final_r);
} else if (dm) {
*final_r = dm;
} else if (cage_r && *cage_r) {
} else if (!deformedVerts && cage_r && *cage_r) {
*final_r = *cage_r;
} else {
*final_r = getEditMeshDerivedMesh(em, ob, deformedVerts);