diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-09 03:16:26 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-09 03:27:20 +0300 |
commit | 132e58610d6c71c38bafcc5034e942bde8f01ad6 (patch) | |
tree | 39cea61a2b8a2c21776153374a8f77e49e331571 /source/blender/nodes | |
parent | 3bdf1c11fb15df96355cc79e885e0d7aa1dc3afb (diff) |
Cleanup: spelling in comments & variables
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc index 0a4078772b9..8479d61a890 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc @@ -176,7 +176,8 @@ static void nurbs_to_bezier_assign(const Span<T> src, dst.last() = src.last(); break; default: - /* Every 3rd NURBS position (starting from index 1) should have its attributes transfered. */ + /* Every 3rd NURBS position (starting from index 1) should have its attributes transferred. + */ scale_input_assign<T>(src, 3, 1, dst); } } @@ -448,7 +449,7 @@ static void convert_to_bezier(const CurveComponent &src_component, Vector<float3> nurbs_positions_vector; if (src_cyclic[i] && is_nurbs_to_bezier_one_to_one(knots_mode)) { /* For conversion treat this as periodic closed curve. Extend NURBS hull to first and - * second point which will act as a sceleton for placing Bezier handles. */ + * second point which will act as a skeleton for placing Bezier handles. */ nurbs_positions_vector.extend(src_curve_positions); nurbs_positions_vector.append(src_curve_positions[0]); nurbs_positions_vector.append(src_curve_positions[1]); |