diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-04-08 13:18:15 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-04-08 13:18:27 +0300 |
commit | aa1e8bb9ab925a436fd832bdb958bef8dbcf3164 (patch) | |
tree | dc8ae8fe47ccda42d39f1c585ac082008c5cc3a3 /source/blender/io/wavefront_obj/tests | |
parent | aa46a67634930786dd721e4cc8b140c7055118bc (diff) |
Fix T97150: Export GPencil to PDF or SVG crashes blender
The problem was the original file had some vertex weight information, but the weights array was empty, so the duplication was not done and the free memory crashed.
To avoid this type of errors, now before duplicate weights the function checks the pointer and also the number of weights elements in the array to avoid the duplicatiopn of empty data.
Diffstat (limited to 'source/blender/io/wavefront_obj/tests')
0 files changed, 0 insertions, 0 deletions