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_cursor.py')
-rw-r--r--space_view3d_pie_menus/pie_cursor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_pie_menus/pie_cursor.py b/space_view3d_pie_menus/pie_cursor.py
index 337c0c12..05550eb3 100644
--- a/space_view3d_pie_menus/pie_cursor.py
+++ b/space_view3d_pie_menus/pie_cursor.py
@@ -49,7 +49,7 @@ class Snap_CursSelToCenter1(Operator):
return (context.area.type == "VIEW_3D" and context.mode == "OBJECT")
def execute(self, context):
- context.space_data.cursor_location = (0, 0, 0)
+ context.scene.cursor.location = (0, 0, 0)
for obj in context.selected_objects:
obj.location = (0, 0, 0)