diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-30 22:12:29 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-30 22:12:29 +0300 |
commit | 8373f497bd159d4226d38cae0432e9a098afe175 (patch) | |
tree | 2b323e5bd6a516c4ef172459c31b21522a4228e8 /tests/python/CMakeLists.txt | |
parent | 2d86175baccb718d45ad04cb82ebdade4f56e86d (diff) |
Add regression tests for curve conversion to mesh
This adds a basic set of tests for curve sampling and bevel generation.
At the moment there are basic test cases for bevels, caps, and the
filling of 2D curves, but more tests can be added in the future.
Curves are actually converted to "DispLists" for displaying them in the
viewport, so it's much simpler to rely on the mesh conversion operator
instead of building a new test framework for another data structure.
Differential Revision: https://developer.blender.org/D9958
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r-- | tests/python/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index bf949d66286..acf8010d13c 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -172,6 +172,14 @@ add_blender_test( --python-text run_tests ) +add_blender_test( + curve_to_mesh + ${TEST_SRC_DIR}/modeling/curve_to_mesh.blend + --python ${TEST_PYTHON_DIR}/curve_to_mesh.py + -- + --run-all-tests +) + # ------------------------------------------------------------------------------ # MODIFIERS TESTS add_blender_test( |