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
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python/view_layer/test_group_c.py')
-rw-r--r--tests/python/view_layer/test_group_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_group_c.py b/tests/python/view_layer/test_group_c.py
index 69feab1a56e..5b477b86224 100644
--- a/tests/python/view_layer/test_group_c.py
+++ b/tests/python/view_layer/test_group_c.py
@@ -38,13 +38,13 @@ class UnitTesting(ViewLayerTesting):
mom_layer_collection = grandma_layer_collection.collections[mom_scene_collection.name]
# update depsgraph
- scene.update()
+ bpy.context.view_layer.update()
# create group
group = mom_layer_collection.create_group()
# update depsgraph
- scene.update()
+ bpy.context.view_layer.update()
# ############################################################