diff options
Diffstat (limited to 'tests/python/view_layer/test_evaluation_selectability_a.py')
-rw-r--r-- | tests/python/view_layer/test_evaluation_selectability_a.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_evaluation_selectability_a.py b/tests/python/view_layer/test_evaluation_selectability_a.py index eaed40869c3..16ad38d1d7e 100644 --- a/tests/python/view_layer/test_evaluation_selectability_a.py +++ b/tests/python/view_layer/test_evaluation_selectability_a.py @@ -37,7 +37,7 @@ class UnitTesting(ViewLayerTesting): layer_collection_kid = layer.collections.link(scene_collection_kid) layer_collection_mom.enabled = False - bpy.context.scene.update() # update depsgraph + bpy.context.view_layer.update() # update depsgraph cube.select_set(True) self.assertTrue(cube.visible_get(), "Cube should be visible") |