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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-15 05:20:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-15 05:20:13 +0300
commitd09289ff7a8e8fe6d4da6b46dd153033d7cfd426 (patch)
tree3c66fb599c3ffa9ee7449cc37b6fd190130c7bd6 /release/scripts/startup/bl_ui/space_topbar.py
parent6eacb626e043a584b0ec6cf97902ed40464ad5d3 (diff)
Cleanup: de-duplicate active tool panel
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 6da08a15db1..509c5bae355 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -608,33 +608,6 @@ class TOPBAR_MT_workspace_menu(Menu):
props.direction = 'NEXT'
-class TOPBAR_PT_active_tool(Panel):
- bl_space_type = 'PROPERTIES'
- bl_region_type = 'WINDOW'
- bl_category = ""
- bl_context = ".active_tool" # dot on purpose (access from tool settings)
- bl_label = "Active Tool"
- bl_options = {'HIDE_HEADER'}
-
- def draw(self, context):
- layout = self.layout
- tool_mode = context.mode
-
- # Panel display of topbar tool settings.
- # currently displays in tool settings, keep here since the same functionality is used for the topbar.
-
- layout.use_property_split = True
- layout.use_property_decorate = False
-
- from .space_toolsystem_common import ToolSelectPanelHelper
- ToolSelectPanelHelper.draw_active_tool_header(
- context,
- layout,
- show_tool_name=True,
- tool_key=('VIEW_3D', tool_mode),
- )
-
-
# Grease Pencil Object - Primitive curve
class TOPBAR_PT_gpencil_primitive(Panel):
bl_space_type = 'VIEW_3D'
@@ -751,7 +724,6 @@ classes = (
TOPBAR_MT_render,
TOPBAR_MT_window,
TOPBAR_MT_help,
- TOPBAR_PT_active_tool,
TOPBAR_PT_gpencil_layers,
TOPBAR_PT_gpencil_primitive,
TOPBAR_PT_gpencil_fill,