Cleanup: typo in last commit
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user