diff options
author | Ben Batt <benbatt@gmail.com> | 2007-05-16 19:19:54 +0400 |
---|---|---|
committer | Ben Batt <benbatt@gmail.com> | 2007-05-16 19:19:54 +0400 |
commit | 8bfa2534799125b47ec8285674083bb1f28b1398 (patch) | |
tree | b124d309134df7271ec273c88eaad65ecc595b7d /source/blender/blenkernel | |
parent | 05dcd05520814a170a565c568cbcd67533e6ad67 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 79da171fe5c..aaddc2dfcc5 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -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); |