svn merge ^/trunk/blender -r43751:43819, need to look into changes made to editmesh_l...
[blender-staging.git] / source / blender / modifiers / intern / MOD_curve.c
index 5ce05e5e062632f1cfb854560c450b222f965230..0ff37c6fa76e8d6f88bb12ba6951a9de1922db6b 100644 (file)
@@ -126,12 +126,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, FALSE, FALSE);
 
        deformVerts(md, ob, dm, vertexCos, numVerts, 0, 0);