Blender Git Loki

Git Commits -> Revision 7029cc2

Revision 7029cc2 by Hans Goudey (master)
May 9, 2021, 06:13 (GMT)
Fix T88126: Curve resample crash for single point input

The spline `length` function assumed that the curve always had evaluated
edges. That is clearly false. This commit adds a check to `length` and a
special case for a single point in the curve resample node.

Commit Details:

Full Hash: 7029cc2f8adf9a5882f247324c59d4c25e18c287
Parent Commit: 518c5ce
Lines Changed: +9, -1

2 Modified Paths:

/source/blender/blenkernel/intern/spline_base.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021