diff options
Diffstat (limited to 'tests/python/view_layer/test_evaluation_selectability_c.py')
-rw-r--r-- | tests/python/view_layer/test_evaluation_selectability_c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_evaluation_selectability_c.py b/tests/python/view_layer/test_evaluation_selectability_c.py index 9536aaf4edc..71452bc1354 100644 --- a/tests/python/view_layer/test_evaluation_selectability_c.py +++ b/tests/python/view_layer/test_evaluation_selectability_c.py @@ -21,13 +21,13 @@ class UnitTesting(ViewLayerTesting): import bpy scene = bpy.context.scene - workspace = bpy.context.workspace + window = bpy.context.window cube = bpy.data.objects.new('guinea pig', bpy.data.meshes.new('mesh')) layer = scene.view_layers.new('Selectability Test') layer.collections.unlink(layer.collections[0]) scene.view_layers.active = layer - workspace.view_layer = layer + window.view_layer = layer scene_collection_mom = scene.master_collection.collections.new("Mom") scene_collection_kid = scene_collection_mom.collections.new("Kid") |