Cleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.

Legacy depsgraph has been removed from Blender since several months
already...
This commit is contained in:
Bastien Montagne
2019-04-18 11:34:53 +02:00
parent 63bae864f4
commit 90b2fceca2
3 changed files with 0 additions and 10 deletions

View File

@@ -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()

View File

@@ -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)