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_scene_collection_delete.py')
-rw-r--r--tests/python/view_layer/test_scene_collection_delete.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_scene_collection_delete.py b/tests/python/view_layer/test_scene_collection_delete.py
index 58893810545..96ae122af8c 100644
--- a/tests/python/view_layer/test_scene_collection_delete.py
+++ b/tests/python/view_layer/test_scene_collection_delete.py
@@ -37,7 +37,7 @@ class UnitTesting(ViewLayerTesting):
master_collection.collections.remove(collection_parent)
# Update depsgraph.
- scene.update()
+ bpy.context.view_layer.update()
# ############################################################