From 5f5a22970b4f7b3c42f73cf1f5a5dac4f32a14b0 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 17 Apr 2019 17:39:17 +0200 Subject: Tests: Fix Alembic regression test --- tests/python/bl_alembic_import_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit v1.2.3