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_roof_maker.py')
-rw-r--r--archimesh/achm_roof_maker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archimesh/achm_roof_maker.py b/archimesh/achm_roof_maker.py
index 7de38df7..846b1f50 100644
--- a/archimesh/achm_roof_maker.py
+++ b/archimesh/achm_roof_maker.py
@@ -242,7 +242,7 @@ def create_roof(self):
mymesh = bpy.data.meshes.new("Roof")
myobject = bpy.data.objects.new("Roof", mymesh)
- myobject.location = bpy.context.scene.cursor_location
+ myobject.location = bpy.context.scene.cursor.location
bpy.context.collection.objects.link(myobject)
mymesh.from_pydata(verts, [], faces)