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 'archimesh/achm_main_panel.py')
-rw-r--r--archimesh/achm_main_panel.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_main_panel.py b/archimesh/achm_main_panel.py
index 47287a58..0db6bbd4 100644
--- a/archimesh/achm_main_panel.py
+++ b/archimesh/achm_main_panel.py
@@ -341,9 +341,9 @@ class ARCHIMESH_OT_Pencil(Operator):
# ----------------------------
if len(mypoints) > 1 and len(clearangles) > 0:
# Move cursor
- bpy.context.scene.cursor_location.x = mypoints[0][0]
- bpy.context.scene.cursor_location.y = mypoints[0][1]
- bpy.context.scene.cursor_location.z = 0 # always on grid floor
+ bpy.context.scene.cursor.location.x = mypoints[0][0]
+ bpy.context.scene.cursor.location.y = mypoints[0][1]
+ bpy.context.scene.cursor.location.z = 0 # always on grid floor
# Add room mesh
bpy.ops.mesh.archimesh_room()