diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-05 09:47:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-05 09:47:35 +0300 |
commit | bfa761d046e8322f783d4f0019ee5037a704f98c (patch) | |
tree | 434fff529e16b5ac0940bcba77b05eced2a7f112 /release/scripts | |
parent | 490d5bb7508aa700990871358af5c2ad5fcf5716 (diff) |
Cleanup: remove redundant pivot popover
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index bfad70dcb49..b718b544d61 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -467,13 +467,7 @@ class VIEW3D_HT_header(Header): # Pivot if object_mode in {'OBJECT', 'EDIT', 'EDIT_GPENCIL', 'SCULPT_GPENCIL'} or has_pose_mode: - layout.prop_with_popover( - tool_settings, - "transform_pivot_point", - text="", - icon_only=True, - panel="VIEW3D_PT_pivot_point", - ) + layout.prop(tool_settings, "transform_pivot_point", text="", icon_only=True) # Snap show_snap = False @@ -6054,21 +6048,6 @@ class VIEW3D_PT_overlay_weight_paint(Panel): col.prop(overlay, "show_paint_wire") -class VIEW3D_PT_pivot_point(Panel): - bl_space_type = 'VIEW_3D' - bl_region_type = 'HEADER' - bl_label = "Pivot Point" - bl_ui_units_x = 8 - - def draw(self, context): - tool_settings = context.tool_settings - - layout = self.layout - col = layout.column() - col.label(text="Pivot Point") - col.prop(tool_settings, "transform_pivot_point", expand=True) - - class VIEW3D_PT_snapping(Panel): bl_space_type = 'VIEW_3D' bl_region_type = 'HEADER' @@ -6942,7 +6921,6 @@ classes = ( VIEW3D_PT_overlay_weight_paint, VIEW3D_PT_overlay_pose, VIEW3D_PT_overlay_sculpt, - VIEW3D_PT_pivot_point, VIEW3D_PT_snapping, VIEW3D_PT_proportional_edit, VIEW3D_PT_gpencil_origin, |