diff options
Diffstat (limited to 'tests/python/view_layer')
-rw-r--r-- | tests/python/view_layer/test_group_e.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_group_e.py b/tests/python/view_layer/test_group_e.py index 14385411eca..7385d94f1f4 100644 --- a/tests/python/view_layer/test_group_e.py +++ b/tests/python/view_layer/test_group_e.py @@ -44,8 +44,8 @@ class UnitTesting(ViewLayerTesting): empty = bpy.data.objects.new("Empty", None) bpy.context.scene_collection.objects.link(empty) layer_collection = bpy.context.layer_collection - empty.dupli_type = 'GROUP' - empty.dupli_group = group + empty.instance_type = 'GROUP' + empty.instance_collection = group # prepare to delete the original object # we could just pass an overridden context |