[Bf-blender-cvs] [bfa761d046e] blender-v2.81-release: Cleanup: remove redundant pivot popover
Campbell Barton
noreply at git.blender.org
Tue Nov 5 07:50:21 CET 2019
Commit: bfa761d046e8322f783d4f0019ee5037a704f98c
Author: Campbell Barton
Date: Tue Nov 5 17:47:35 2019 +1100
Branches: blender-v2.81-release
https://developer.blender.org/rBbfa761d046e8322f783d4f0019ee5037a704f98c
Cleanup: remove redundant pivot popover
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
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,
More information about the Bf-blender-cvs
mailing list