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_evaluation_visibility_f.py')
-rw-r--r--tests/python/view_layer/test_evaluation_visibility_f.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_evaluation_visibility_f.py b/tests/python/view_layer/test_evaluation_visibility_f.py
index cf886786c5e..a4b9df1ab8c 100644
--- a/tests/python/view_layer/test_evaluation_visibility_f.py
+++ b/tests/python/view_layer/test_evaluation_visibility_f.py
@@ -41,7 +41,7 @@ class UnitTesting(ViewLayerTesting):
layer_collection_mom.collections[layer_collection_kid.name].enabled = False
layer_collection_kid.enabled = False
- bpy.context.scene.update() # update depsgraph
+ layer.update() # update depsgraph
self.assertTrue(cube.visible_get(), "Object should be visible")