Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-25 16:56:48 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-26 17:37:59 +0300
commit5876856f7bdaac74ae5b09afb5a2c81cdb4f873e (patch)
tree1a4ef16f9ea63994685008f72d3683cf7ce80425 /release
parent11995c5a6ec99f6b08cc2bbb315fd237659356cc (diff)
Properties: remove redundant settings from workspaces tab.
Use render settings and active view layer will be handled elsewhere. Also change icon to not be confusing with render layers. Probably we should get rid of the workspace tab entirely and do it in the user preferences, but that's for later.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_workspace.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_workspace.py b/release/scripts/startup/bl_ui/properties_data_workspace.py
index e6ac4ab7477..5374aa6b736 100644
--- a/release/scripts/startup/bl_ui/properties_data_workspace.py
+++ b/release/scripts/startup/bl_ui/properties_data_workspace.py
@@ -31,32 +31,6 @@ class WorkSpaceButtonsPanel:
bl_context = "workspace"
-class WORKSPACE_PT_context(WorkSpaceButtonsPanel, Panel):
- bl_label = ""
- bl_options = {'HIDE_HEADER'}
-
- def draw(self, context):
- layout = self.layout
-
- workspace = context.workspace
- layout.prop(workspace, "use_scene_settings", icon='SCENE')
-
-
-class WORKSPACE_PT_workspace(WorkSpaceButtonsPanel, Panel):
- bl_label = "Workspace"
-
- def draw(self, context):
- layout = self.layout
-
- window = context.window
- workspace = context.workspace
- scene = context.scene
-
- layout.enabled = not workspace.use_scene_settings
-
- layout.template_search(window, "view_layer", scene, "view_layers")
-
-
class WORKSPACE_PT_owner_ids(WorkSpaceButtonsPanel, Panel):
bl_label = "Workspace Add-ons"
bl_options = {'DEFAULT_CLOSED'}
@@ -118,8 +92,6 @@ class WORKSPACE_PT_custom_props(WorkSpaceButtonsPanel, PropertyPanel, Panel):
classes = (
- WORKSPACE_PT_context,
- WORKSPACE_PT_workspace,
WORKSPACE_PT_owner_ids,
WORKSPACE_PT_custom_props,
)