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 'add_curve_extra_objects/add_curve_spirofit_bouncespline.py')
-rw-r--r--add_curve_extra_objects/add_curve_spirofit_bouncespline.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
index 2b7ed914..b220157c 100644
--- a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
+++ b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py
@@ -926,10 +926,10 @@ def move_origin_to_start():
start = active.matrix_world @ spline.points[0].co
start = start[:-1]
- cursor = bpy.context.scene.cursor_location.copy()
- bpy.context.scene.cursor_location = start
+ cursor = bpy.context.scene.cursor.location.copy()
+ bpy.context.scene.cursor.location = start
bpy.ops.object.origin_set(type='ORIGIN_CURSOR')
- bpy.context.scene.cursor_location = cursor
+ bpy.context.scene.cursor.location = cursor
def draw_spline_settings(self):