diff options
Diffstat (limited to 'tests/python/view_layer/test_group_e.py')
-rw-r--r-- | tests/python/view_layer/test_group_e.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/view_layer/test_group_e.py b/tests/python/view_layer/test_group_e.py index 7385d94f1f4..09d94b33347 100644 --- a/tests/python/view_layer/test_group_e.py +++ b/tests/python/view_layer/test_group_e.py @@ -31,14 +31,14 @@ class UnitTesting(ViewLayerTesting): scene.view_layers.remove(v) # update depsgraph - scene.update() + view_layer.update() # create group group = bpy.data.groups.new("Switch") group.objects.link(ob) # update depsgraph - scene.update() + view_layer.update() # instance the group empty = bpy.data.objects.new("Empty", None) @@ -57,7 +57,7 @@ class UnitTesting(ViewLayerTesting): self.assertFalse(empty.select_get()) # update depsgraph - scene.update() + view_layer.update() # delete the original object bpy.ops.object.delete() |