diff options
author | Jacques Lucke <jacques@blender.org> | 2022-06-25 20:17:08 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-06-25 20:17:08 +0300 |
commit | 3237c6dbe877db1cfbe15e92f6cb267d8a6031ea (patch) | |
tree | 110b5b13af3c65a2fd601b2e36cf9837b4dbd69d /source/blender/blenlib/BLI_any.hh | |
parent | b513c89e8450289746a7b3397bf3d610a0989d79 (diff) |
Fix: crash when converting zero legacy curves
The issue was that the "radius" lookup below fails, because there is no
curve data. Arguably, it should be possible to add attributes even when
there is no data. However, the rules for that are a bit loose currently.
A simple fix is to just not run the conversion code when there is nothing
to convert.
Diffstat (limited to 'source/blender/blenlib/BLI_any.hh')
0 files changed, 0 insertions, 0 deletions