Blender Git Loki

Git Commits -> Revision db59f0b

Revision db59f0b by Hans Goudey (master)
May 14, 2021, 16:26 (GMT)
Fix T88262: Curve to mesh crash with vector last segment

The code incorrectly used the size of the second to last segment rather
than the last segment's size. That was a problem when the last segment
is a vector segment but the second to last isn't.

I also used the opportunity to slightly refactor the control point
offsets cache, making it one longer so it also contains information
about the size of the last segment, simplifying other code.

Commit Details:

Full Hash: db59f0b943acd684b2c571e5ef30a4c53e6ab5c4
Parent Commit: 7178e54
Lines Changed: +24, -24

2 Modified Paths:

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