Alembic: Adjusted unittest for Blender 2.8

This commit is contained in:
Sybren A. Stüvel
2017-07-11 16:28:52 +02:00
parent 4233ccfb6c
commit ded2b30ebc

View File

@@ -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)