diff options
author | Aras Pranckevicius <aras@nesnausk.org> | 2022-04-17 21:59:55 +0300 |
---|---|---|
committer | Aras Pranckevicius <aras@nesnausk.org> | 2022-04-17 21:59:55 +0300 |
commit | a3eb4027c2383827b9f5beed709c54c53c7d6d20 (patch) | |
tree | f2b73785a7e54190fd22598659f71fb019b7030d /CMakeLists.txt | |
parent | b32cb0266c61abb333906dc6848d252f6f4dbd20 (diff) |
Fix T97095: export of Poly curves, export crash when object contains multiple curve types
- Was not exporting "Poly" curves at all,
- Had a crash when a single object contains multiple curves of different types -- it had a check for "is this nurbs compatible?" only for the first curve, and then proceeded to treat the other curves as nurbs as well, without checking for validity.
Fixed both issues by doing the same logic as in the old python exporter:
- Poly curves are supported,
- Treat object as "nurbs compatible" only if all the curves within it are nurbs compatible.
Added test coverage in the gtest suite. While at it, made "all_curves" test use the "golden obj file template" style test, instead of a manually coded test that checks intermediate objects but does not check the final exported result.
Reviewed By: Howard Trickey
Differential Revision: https://developer.blender.org/D14611
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions