Cleanup: naming in MOD_utils.

This commit is contained in:
2018-06-29 19:02:19 +02:00
parent 3bc21bc5f7
commit 0c94528829
26 changed files with 74 additions and 73 deletions

View File

@@ -113,7 +113,7 @@ static void deformVerts(
int numVerts)
{
CurveModifierData *cmd = (CurveModifierData *) md;
Mesh *mesh_src = get_mesh(ctx->object, NULL, mesh, NULL, false, false);
Mesh *mesh_src = MOD_get_mesh_eval(ctx->object, NULL, mesh, NULL, false, false);
BLI_assert(mesh_src->totvert == numVerts);
@@ -134,7 +134,7 @@ static void deformVertsEM(
float (*vertexCos)[3],
int numVerts)
{
Mesh *mesh_src = get_mesh(ctx->object, em, mesh, NULL, false, false);
Mesh *mesh_src = MOD_get_mesh_eval(ctx->object, em, mesh, NULL, false, false);
BLI_assert(mesh_src->totvert == numVerts);