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_make_single_user.py')
-rw-r--r--tests/python/view_layer/test_make_single_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_make_single_user.py b/tests/python/view_layer/test_make_single_user.py
index 973c191f22d..38bd524a82d 100644
--- a/tests/python/view_layer/test_make_single_user.py
+++ b/tests/python/view_layer/test_make_single_user.py
@@ -39,7 +39,7 @@ class UnitTesting(ViewLayerTesting):
ob.select_set(True)
# update depsgraph
- scene.update()
+ view_layer.update()
# test itself
bpy.ops.object.make_single_user(object=True)