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 dcde921f84481975b1d8f88d2a0bf5fd596ca3e3..0ff37c6fa76e8d6f88bb12ba6951a9de1922db6b 100644 (file)
@@ -119,8 +119,10 @@ static void deformVerts(ModifierData *md, Object *ob,
 {
        CurveModifierData *cmd = (CurveModifierData*) md;
 
+       /* silly that defaxis and curve_deform_verts are off by 1
+        * but leave for now to save having to call do_versions */
        curve_deform_verts(md->scene, cmd->object, ob, derivedData, vertexCos, numVerts,
-                          cmd->name, cmd->defaxis);
+                          cmd->name, cmd->defaxis-1);
 }
 
 static void deformVertsEM(