Blender Git Commit Log

Git Commits -> Revision 0706f7a

Revision 0706f7a by Johnny Matthews (temp-ui-tweaks)
September 22, 2021, 13:54 (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: 0706f7a08a3fc47c46011c343cbe00221968ba1f
Parent Commit: a969417
Committed By: Pablo Vazquez
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021