diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-11-27 19:52:15 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-11-27 19:52:21 +0300 |
commit | 14c3ef8253290da8f4fbb2e1c1ffeaffadd9f83a (patch) | |
tree | 996cd3b77dcb5f18a13ed1cd84ffab4d19de7819 /tests/python | |
parent | 29044cfb122cc9af421931344548068a9fb09358 (diff) |
Fixing alembic unittest after render layer purge
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/bl_alembic_import_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/bl_alembic_import_test.py b/tests/python/bl_alembic_import_test.py index 5062e8ff073..e9499fb08f0 100644 --- a/tests/python/bl_alembic_import_test.py +++ b/tests/python/bl_alembic_import_test.py @@ -184,7 +184,7 @@ class SimpleImportTest(AbstractAlembicTest): # Check that the file loaded ok. bpy.context.scene.frame_set(6) scene = bpy.context.scene - layer = scene.render_layers[scene.active_layer] + layer = scene.view_layers[scene.active_layer] mesh = plane.to_mesh(scene, layer, True, 'RENDER') self.assertAlmostEqual(-1, mesh.vertices[0].co.x) self.assertAlmostEqual(-1, mesh.vertices[0].co.y) |