diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-30 10:51:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-30 10:51:32 +0400 |
commit | b01e6fd564ea7a0626cef88f06f13247f8bffb1b (patch) | |
tree | 9250c24238c6db1ecd2816f2827d9e617892d98b /source/blender/makesrna | |
parent | 04adf3ae1552132d2d0d915265509a566528d3af (diff) |
rename makeknots to nurbs_knot_calc_u/v
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index e28212470c3..37be1d89d30 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -414,7 +414,7 @@ static void rna_Nurb_update_knot_u(Main *bmain, Scene *scene, PointerRNA *ptr) Nurb *nu= (Nurb*)ptr->data; clamp_nurb_order_u(nu); - makeknots(nu, 1); + nurbs_knot_calc_u(nu); rna_Curve_update_data(bmain, scene, ptr); } @@ -424,7 +424,7 @@ static void rna_Nurb_update_knot_v(Main *bmain, Scene *scene, PointerRNA *ptr) Nurb *nu= (Nurb*)ptr->data; clamp_nurb_order_v(nu); - makeknots(nu, 2); + nurbs_knot_calc_v(nu); rna_Curve_update_data(bmain, scene, ptr); } @@ -441,7 +441,7 @@ static void rna_Curve_spline_points_add(ID *id, Nurb *nu, ReportList *reports, i addNurbPoints(nu, number); /* update */ - makeknots(nu, 1); + nurbs_knot_calc_u(nu); rna_Curve_update_data_id(NULL, NULL, id); } @@ -458,7 +458,7 @@ static void rna_Curve_spline_bezpoints_add(ID *id, Nurb *nu, ReportList *reports addNurbPointsBezier(nu, number); /* update */ - makeknots(nu, 1); + nurbs_knot_calc_u(nu); rna_Curve_update_data_id(NULL, NULL, id); } |