Unittests: Make sure layer tests pass with or without workspace
This commit is contained in:
@@ -747,6 +747,7 @@ class Clay:
|
||||
|
||||
layer = self._scene.render_layers.new('Evaluation Test')
|
||||
layer.collections.unlink(layer.collections[0])
|
||||
self._scene.render_layers.active = layer
|
||||
bpy.context.workspace.render_layer = layer
|
||||
|
||||
# remove all other layers
|
||||
|
||||
Reference in New Issue
Block a user