diff options
author | Joseph Eagar <joeedh@gmail.com> | 2011-03-20 00:33:33 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2011-03-20 00:33:33 +0300 |
commit | 7ccc17b98ce8e06428cdadffee10f7ba68fafa42 (patch) | |
tree | 0be941f363a9d12f31ebc436a1a8806b6041e3e3 /source/blender/modifiers/intern/MOD_lattice.c | |
parent | 18494f8d33d09140c6e57e39dafb397fbba324bd (diff) |
=bmesh= fixed bunches of modifier stack bugs
Diffstat (limited to 'source/blender/modifiers/intern/MOD_lattice.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_lattice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index 22427d04338..9057dfe592b 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -120,12 +120,12 @@ static void deformVerts(ModifierData *md, Object *ob, } static void deformVertsEM( - ModifierData *md, Object *ob, struct EditMesh *editData, + ModifierData *md, Object *ob, struct BMEditMesh *editData, DerivedMesh *derivedData, float (*vertexCos)[3], int numVerts) { DerivedMesh *dm = derivedData; - if(!derivedData) dm = CDDM_from_editmesh(editData, ob->data); + if(!derivedData) dm = CDDM_from_BMEditMesh(editData, ob->data); deformVerts(md, ob, dm, vertexCos, numVerts, 0, 0); |