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 'space_view3d_pie_menus/pie_orientation_menu.py')
-rw-r--r--space_view3d_pie_menus/pie_orientation_menu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/space_view3d_pie_menus/pie_orientation_menu.py b/space_view3d_pie_menus/pie_orientation_menu.py
index a9de9fa6..04e77c95 100644
--- a/space_view3d_pie_menus/pie_orientation_menu.py
+++ b/space_view3d_pie_menus/pie_orientation_menu.py
@@ -24,7 +24,7 @@ bl_info = {
"name": "Hotkey: 'Alt + Spacebar'",
"author": "Italic_",
"version": (1, 1, 0),
- "blender": (2, 77, 0),
+ "blender": (2, 80, 0),
"description": "Set Transform Orientations",
"location": "3D View",
"category": "Orientation Pie"}
@@ -44,14 +44,14 @@ class OrientPoll(Operator):
bl_label = "Orientation Poll"
bl_options = {'INTERNAL'}
- space = StringProperty()
+ space: StringProperty()
@classmethod
def poll(cls, context):
return context.space_data.type == "VIEW_3D"
def execute(self, context):
- context.space_data.transform_orientation = self.space
+ context.scene.transform_orientation = self.space
return {'FINISHED'}