diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_curve.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_curve.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/modifiers/intern/MOD_curve.c b/source/blender/modifiers/intern/MOD_curve.c index 5b22b933823..a82b999f4dc 100644 --- a/source/blender/modifiers/intern/MOD_curve.c +++ b/source/blender/modifiers/intern/MOD_curve.c @@ -104,14 +104,14 @@ static void deformVerts(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, float (*vertexCos)[3], - int numVerts) + int verts_num) { CurveModifierData *cmd = (CurveModifierData *)md; Mesh *mesh_src = NULL; if (ctx->object->type == OB_MESH && cmd->name[0] != '\0') { /* mesh_src is only needed for vgroups. */ - mesh_src = MOD_deform_mesh_eval_get(ctx->object, NULL, mesh, NULL, numVerts, false, false); + mesh_src = MOD_deform_mesh_eval_get(ctx->object, NULL, mesh, NULL, verts_num, false, false); } struct MDeformVert *dvert = NULL; @@ -124,7 +124,7 @@ static void deformVerts(ModifierData *md, BKE_curve_deform_coords(cmd->object, ctx->object, vertexCos, - numVerts, + verts_num, dvert, defgrp_index, cmd->flag, @@ -140,10 +140,10 @@ static void deformVertsEM(ModifierData *md, BMEditMesh *em, Mesh *mesh, float (*vertexCos)[3], - int numVerts) + int verts_num) { if (mesh != NULL) { - deformVerts(md, ctx, mesh, vertexCos, numVerts); + deformVerts(md, ctx, mesh, vertexCos, verts_num); return; } @@ -162,7 +162,7 @@ static void deformVertsEM(ModifierData *md, BKE_curve_deform_coords_with_editmesh(cmd->object, ctx->object, vertexCos, - numVerts, + verts_num, defgrp_index, cmd->flag, cmd->defaxis - 1, @@ -172,7 +172,7 @@ static void deformVertsEM(ModifierData *md, BKE_curve_deform_coords(cmd->object, ctx->object, vertexCos, - numVerts, + verts_num, NULL, defgrp_index, cmd->flag, |