Merge branch 'blender-v2.81-release'

This commit is contained in:
Campbell Barton 2019-11-05 17:50:53 +11:00
commit cc601e0eac
1 changed files with 1 additions and 23 deletions

View File

@ -453,13 +453,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
@ -6042,21 +6036,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'
@ -6932,7 +6911,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,