Blender Git Commit Log

Git Commits -> Revision 1d9e2dc

Revision 1d9e2dc by Hans Goudey (master)
October 22, 2021, 22:13 (GMT)
Fix: Cyclic single point bezier splines have multiple evaluated points

Because `segment_is_vector` didn't handle the combined cyclic and
single control point case, it returned false, that the "segment" should
have the resolution evaluated point count. To avoid checking the size in
every call, add an assert for the size and check it elsewhere.

Commit Details:

Full Hash: 1d9e2dc954ff837737c0bbc00ef8ae4b841f2427
Parent Commit: cfc6426
Lines Changed: +39, -12

3 Modified Paths:

/source/blender/blenkernel/intern/spline_bezier.cc (+27, -8) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_curve_subdivide.cc (+6, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+6, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021