[Bf-blender-cvs] [ded2b30ebc8] blender2.8: Alembic: Adjusted unittest for Blender 2.8
Sybren A. Stüvel
noreply at git.blender.org
Tue Jul 11 16:28:58 CEST 2017
Commit: ded2b30ebc81b604c76d65cd029da0876b819122
Author: Sybren A. Stüvel
Date: Tue Jul 11 16:28:52 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBded2b30ebc81b604c76d65cd029da0876b819122
Alembic: Adjusted unittest for Blender 2.8
===================================================================
M tests/python/bl_alembic_import_test.py
===================================================================
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)
More information about the Bf-blender-cvs
mailing list