diff options
Diffstat (limited to 'archimesh/achm_stairs_maker.py')
-rw-r--r-- | archimesh/achm_stairs_maker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archimesh/achm_stairs_maker.py b/archimesh/achm_stairs_maker.py index 9459d5d9..b8688e73 100644 --- a/archimesh/achm_stairs_maker.py +++ b/archimesh/achm_stairs_maker.py @@ -273,7 +273,7 @@ def create_stairs(self, objname): mesh = bpy.data.meshes.new(objname) myobject = bpy.data.objects.new(objname, mesh) - myobject.location = bpy.context.scene.cursor_location + myobject.location = bpy.context.scene.cursor.location bpy.context.collection.objects.link(myobject) mesh.from_pydata(myvertex, [], myfaces) |