diff options
Diffstat (limited to 'tests/python/view_layer/test_evaluation_visibility_c.py')
-rw-r--r-- | tests/python/view_layer/test_evaluation_visibility_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/view_layer/test_evaluation_visibility_c.py b/tests/python/view_layer/test_evaluation_visibility_c.py index 5a8c6386265..e337a22e561 100644 --- a/tests/python/view_layer/test_evaluation_visibility_c.py +++ b/tests/python/view_layer/test_evaluation_visibility_c.py @@ -40,7 +40,7 @@ class UnitTesting(ViewLayerTesting): layer_collection_mom.collections[layer_collection_kid.name].enabled = False layer_collection_kid.enabled = True - bpy.context.scene.update() # update depsgraph + layer.update() # update depsgraph self.assertTrue(cube.visible_get(), "Object should be visible") |