diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-18 12:34:53 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-18 12:35:39 +0300 |
commit | 90b2fceca2f5116b0a8c3ef2a1a0ebec42dd3f57 (patch) | |
tree | eb61ec1067c2649156717243bbefbb86393dcc0d /tests | |
parent | 63bae864f40302b0a303498d26f230caf4f24339 (diff) |
Cleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.
Legacy depsgraph has been removed from Blender since several months
already...
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/python/bl_alembic_import_test.py | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index fdd2efb69d1..2d9fe8c4f37 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -624,7 +624,6 @@ if(WITH_ALEMBIC) --python ${CMAKE_CURRENT_LIST_DIR}/bl_alembic_import_test.py -- --testdir "${TEST_SRC_DIR}/alembic" - --with-legacy-depsgraph=${WITH_LEGACY_DEPSGRAPH} ) endif() diff --git a/tests/python/bl_alembic_import_test.py b/tests/python/bl_alembic_import_test.py index fe69f200c76..2cde6d57a7f 100644 --- a/tests/python/bl_alembic_import_test.py +++ b/tests/python/bl_alembic_import_test.py @@ -165,9 +165,6 @@ class SimpleImportTest(AbstractAlembicTest): bpy.data.cache_files[fname].filepath = relpath.replace('1.abc', '2.abc') bpy.context.scene.update() - if args.with_legacy_depsgraph: - bpy.context.scene.frame_set(10) - cube = bpy.context.depsgraph.id_eval_get(cube) x, y, z = cube.matrix_world.to_euler('XYZ') self.assertAlmostEqual(x, math.pi / 2, places=5) @@ -254,8 +251,6 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument('--testdir', required=True, type=pathlib.Path) - parser.add_argument('--with-legacy-depsgraph', default=False, - type=lambda v: v in {'ON', 'YES', 'TRUE'}) args, remaining = parser.parse_known_args(argv) unittest.main(argv=remaining) |