diff options
author | Laurynas Duburas <laurynas> | 2022-03-11 03:34:27 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-11 03:34:27 +0300 |
commit | 0602852860dda7dfc0ea20c72e03b7f96c981f1a (patch) | |
tree | f6679aba0cfdfcda8e0e244549eb739e025953e0 /source/blender/blenkernel/BKE_spline.hh | |
parent | 27fb63381e9b0963976237c58ca2cfc9bc5ddfd8 (diff) |
Curve: Improve NURBS knot generation modes
This patch enables all 8 combinations of Nurbs modes: Cyclic,
Bezier and Endpoint. Also removes restriction on Bezier Nurbs order.
The most significant changes are mode combinations bringing new
meaning. In D13891 is a scheme showing NURBS with same control
points in a modes, and also further description of each possible case.
Differential Revision: https://developer.blender.org/D13891
Diffstat (limited to 'source/blender/blenkernel/BKE_spline.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_spline.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_spline.hh b/source/blender/blenkernel/BKE_spline.hh index 42b4702ee44..ed9b743b524 100644 --- a/source/blender/blenkernel/BKE_spline.hh +++ b/source/blender/blenkernel/BKE_spline.hh @@ -453,6 +453,7 @@ class NURBSpline final : public Spline { Normal, EndPoint, Bezier, + EndPointBezier, }; /** Method used to recalculate the knots vector when points are added or removed. */ |