diff options
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_workspace.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_workspace.py b/release/scripts/startup/bl_ui/properties_data_workspace.py index 1595e6895d1..dae798bee95 100644 --- a/release/scripts/startup/bl_ui/properties_data_workspace.py +++ b/release/scripts/startup/bl_ui/properties_data_workspace.py @@ -48,13 +48,14 @@ class WORKSPACE_PT_workspace(WorkSpaceButtonsPanel, Panel): def draw(self, context): layout = self.layout + window = context.window workspace = context.workspace scene = context.scene view_render = workspace.view_render layout.enabled = not workspace.use_scene_settings - layout.template_search(workspace, "view_layer", scene, "view_layers") + layout.template_search(window, "view_layer", scene, "view_layers") if view_render.has_multiple_engines: layout.prop(view_render, "engine", text="") |