Blender Git Commit Log
Git Commits -> Revision 231948f
Revision 231948f by Johnny Matthews (master) September 15, 2021, 18:57 (GMT) |
Splines: Add a method for reversing a Spline This moved the spline reversing logic out of the Curve Reverse geometry node and into the spline class. This allows a spline to reverse itself with a call to `my_spline.reverse()` The base class will reverse position, radii & tilt, while specialized versions are created for Bezier and Nurbs splines to reverse the additional data that these classes encapsulate. Differential Revision: https://developer.blender.org/D12501 |
Commit Details:
Full Hash: 231948f33f8f3e79f7ae38ab9b3db3e597f13b4a
Parent Commit: a866a32
Committed By: Hans Goudey
Lines Changed: +62, -40
6 Modified Paths:
/source/blender/blenkernel/BKE_spline.hh (+11, -0) (Diff)
/source/blender/blenkernel/intern/spline_base.cc (+29, -0) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+11, -0) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+5, -0) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+4, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+2, -40) (Diff)
/source/blender/blenkernel/intern/spline_base.cc (+29, -0) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+11, -0) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+5, -0) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+4, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+2, -40) (Diff)