diff options
author | Hans Goudey <h.goudey@me.com> | 2021-05-14 19:26:42 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-05-14 19:26:42 +0300 |
commit | db59f0b943acd684b2c571e5ef30a4c53e6ab5c4 (patch) | |
tree | 54c205bb93d0f6dc05d2126e4fe7b18185dfce9a /source/blender/blenkernel/BKE_collection.h | |
parent | 7178e541222038bd27cde4491c747d27ef614301 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_collection.h')
0 files changed, 0 insertions, 0 deletions