diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-08 13:15:45 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-08 13:15:45 +0400 |
commit | 95641388471d178552fea26bb477c13536bd58ef (patch) | |
tree | 35d77ee331ef4d083b9b0b8690fb1e0931acccdd /source/blender/modifiers/intern/MOD_smooth.c | |
parent | e446c6af1fbf92bad71644ac687b5b24c4c824fd (diff) |
Another fix for #31743: check for DM's verts number matches passed number of vertices
Now bevelled splines shall work in the same way as meshes.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_smooth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_smooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c index 7b230d7365d..545e2135344 100644 --- a/source/blender/modifiers/intern/MOD_smooth.c +++ b/source/blender/modifiers/intern/MOD_smooth.c @@ -118,7 +118,7 @@ static void smoothModifier_do( fac = smd->fac; facm = 1 - fac; - if (ob->type == OB_MESH) { + if (dm->getNumVerts(dm) == numVerts) { medges = dm->getEdgeArray(dm); numDMEdges = dm->getNumEdges(dm); } |