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_a.py')
-rw-r--r--tests/python/view_layer/test_group_a.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_group_a.py b/tests/python/view_layer/test_group_a.py
index 6e1b83efbe5..47511d78be7 100644
--- a/tests/python/view_layer/test_group_a.py
+++ b/tests/python/view_layer/test_group_a.py
@@ -34,7 +34,7 @@ class UnitTesting(ViewLayerTesting):
group = layer_collection.create_group()
# update depsgraph
- scene.update()
+ bpy.context.view_layer.update()
# ############################################################