Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pie_menus_official/pie_pivot_of.py')
-rw-r--r--pie_menus_official/pie_pivot_of.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pie_menus_official/pie_pivot_of.py b/pie_menus_official/pie_pivot_of.py
index 88677b69..ec48d359 100644
--- a/pie_menus_official/pie_pivot_of.py
+++ b/pie_menus_official/pie_pivot_of.py
@@ -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 = (