diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-17 18:39:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-17 18:39:17 +0300 |
commit | 5f5a22970b4f7b3c42f73cf1f5a5dac4f32a14b0 (patch) | |
tree | 80b116e69b99d658cbb14072ba5f5b53f83528e8 | |
parent | 035b455f6c60daa6266ccfa4f3205d79a2278769 (diff) |
Tests: Fix Alembic regression test
-rw-r--r-- | tests/python/bl_alembic_import_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/bl_alembic_import_test.py b/tests/python/bl_alembic_import_test.py index ad7d2fd398a..fe69f200c76 100644 --- a/tests/python/bl_alembic_import_test.py +++ b/tests/python/bl_alembic_import_test.py @@ -186,7 +186,7 @@ class SimpleImportTest(AbstractAlembicTest): # Check that the file loaded ok. bpy.context.scene.frame_set(6) scene = bpy.context.scene - mesh = plane.to_mesh(bpy.context.depsgraph, True, True, False) + mesh = plane.to_mesh(bpy.context.depsgraph, apply_modifiers=True, calc_undeformed=False) self.assertAlmostEqual(-1, mesh.vertices[0].co.x) self.assertAlmostEqual(-1, mesh.vertices[0].co.y) self.assertAlmostEqual(0.5905638933181763, mesh.vertices[0].co.z) @@ -196,7 +196,7 @@ class SimpleImportTest(AbstractAlembicTest): bpy.data.cache_files[fname].filepath = relpath scene.frame_set(6) - mesh = plane.to_mesh(bpy.context.depsgraph, True, True, False) + mesh = plane.to_mesh(bpy.context.depsgraph, apply_modifiers=True, calc_undeformed=False) self.assertAlmostEqual(1, mesh.vertices[3].co.x) self.assertAlmostEqual(1, mesh.vertices[3].co.y) self.assertAlmostEqual(0.5905638933181763, mesh.vertices[3].co.z) |