Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-07-11 17:28:52 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-07-11 17:28:52 +0300
commitded2b30ebc81b604c76d65cd029da0876b819122 (patch)
tree67b2993d036ea05a97f49e9aafd87e9b210cb62e /tests
parent4233ccfb6cc0e1fe96987eb757103606f6e3d530 (diff)
Alembic: Adjusted unittest for Blender 2.8
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_alembic_import_test.py2
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 b64efed4d68..9f758b0b161 100644
--- a/tests/python/bl_alembic_import_test.py
+++ b/tests/python/bl_alembic_import_test.py
@@ -83,7 +83,7 @@ class SimpleImportTest(AbstractAlembicTest):
# The objects should be linked to scene_collection in Blender 2.8,
# and to scene in Blender 2.7x.
- objects = bpy.context.scene.objects
+ objects = bpy.context.scene_collection.objects
# ABC parent is top-level object, which translates to nothing in Blender
self.assertIsNone(objects['locator1'].parent)