Fix T57238: pie_menus_official: pivot point pie error

This commit is contained in:
Philipp Oeser 2018-10-15 11:26:36 +02:00
parent 365f6cfc47
commit a24896c2db
Notes: blender-bot 2023-02-14 19:25:30 +01:00
Referenced by issue #57238, Fix Pie menu of Pivot (keyboard: . )
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ class VIEW3D_PIE_pivot_of(Menu):
layout = self.layout
pie = layout.menu_pie()
pie.prop(context.space_data, "pivot_point", expand=True)
pie.prop(context.scene.tool_settings, "transform_pivot_point", expand=True)
if context.active_object and context.active_object.mode == 'OBJECT':
pie.prop(context.space_data, "use_pivot_point_align", text="Center Points")
pie.prop(context.scene.tool_settings, "use_transform_pivot_point_align", text="Center Points")
classes = (