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 'archipack/archipack_reference_point.py')
-rw-r--r--archipack/archipack_reference_point.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archipack/archipack_reference_point.py b/archipack/archipack_reference_point.py
index 0b0c0348..99acf9d8 100644
--- a/archipack/archipack_reference_point.py
+++ b/archipack/archipack_reference_point.py
@@ -230,7 +230,7 @@ class ARCHIPACK_OT_reference_point(ArchipackCollectionManager, Operator):
row.label(text="Use Properties panel (N) to define parms", icon='INFO')
def create(self, context):
- x, y, z = context.scene.cursor_location
+ x, y, z = context.scene.cursor.location
# bpy.ops.object.empty_add(type='ARROWS', radius=0.5, location=Vector((x, y, 0)))
m = bpy.data.meshes.new(name="Reference")
o = bpy.data.objects.new("Reference", m)