Blender Git Commit Log

Git Commits -> Revision 5d4ca28

Revision 5d4ca28 by Hans Goudey (temp-ui-tweaks)
September 22, 2021, 13:54 (GMT)
Fix: Spline length calculation fails with no evaluated points

The case that checked whether there were evaluated edges was incorrect,
since two points are needed for an edge. Then also avoid running the
accumulation for an empty span.

Commit Details:

Full Hash: 5d4ca28f8c7824e49139962d3f7cf01c088b816f
Parent Commit: de5b912
Committed By: Pablo Vazquez
Lines Changed: +6, -4

1 Modified Path:

/source/blender/blenkernel/intern/spline_base.cc (+6, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021