Cleanup: typo in last commit

This commit is contained in:
2019-08-22 09:13:17 +10:00
parent 189aa32a3a
commit c2442541a6
4 changed files with 4 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ void BKE_curve_nurb_vert_active_validate(struct Curve *cu);
float (*BKE_curve_nurbs_vert_coords_alloc(struct ListBase *lb, int *r_vert_len))[3];
void BKE_curve_nurbs_vert_coords_get(struct ListBase *lb, float (*vert_coords)[3], int vert_len);
void BK_curve_nurbs_vert_coords_apply(struct ListBase *lb, const float (*vert_coords)[3]);
void BKE_curve_nurbs_vert_coords_apply(struct ListBase *lb, const float (*vert_coords)[3]);
float (*BKE_curve_nurbs_key_vert_coords_alloc(struct ListBase *lb,
float *key,

View File

@@ -4641,7 +4641,7 @@ float (*BKE_curve_nurbs_vert_coords_alloc(ListBase *lb, int *r_vert_len))[3]
return vert_coords;
}
void BK_curve_nurbs_vert_coords_apply(ListBase *lb, const float (*vert_coords)[3])
void BKE_curve_nurbs_vert_coords_apply(ListBase *lb, const float (*vert_coords)[3])
{
const float *co = vert_coords[0];

View File

@@ -920,7 +920,7 @@ static void curve_calc_modifiers_pre(
}
if (deformedVerts) {
BK_curve_nurbs_vert_coords_apply(nurb, deformedVerts);
BKE_curve_nurbs_vert_coords_apply(nurb, deformedVerts);
MEM_freeN(deformedVerts);
}
if (keyVerts) { /* these are not passed through modifier stack */

View File

@@ -716,7 +716,7 @@ static int modifier_apply_obdata(
vertexCos = BKE_curve_nurbs_vert_coords_alloc(&curve_eval->nurb, &numVerts);
mti->deformVerts(md_eval, &mectx, NULL, vertexCos, numVerts);
BK_curve_nurbs_vert_coords_apply(&curve->nurb, vertexCos);
BKE_curve_nurbs_vert_coords_apply(&curve->nurb, vertexCos);
MEM_freeN(vertexCos);