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_curtain_maker.py')
-rw-r--r--archimesh/achm_curtain_maker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archimesh/achm_curtain_maker.py b/archimesh/achm_curtain_maker.py
index 29740556..e0c9cc46 100644
--- a/archimesh/achm_curtain_maker.py
+++ b/archimesh/achm_curtain_maker.py
@@ -266,7 +266,7 @@ def generate_japan(self):
support = []
panel = []
- location = bpy.context.scene.cursor_location
+ location = bpy.context.scene.cursor.location
myloc = copy(location) # copy location to keep 3D cursor position
# ------------------
@@ -625,7 +625,7 @@ def create_bezier(objname, points, origin, depth=0.001, fill='FULL'):
# All custom values are passed using self container (self.myvariable)
# ------------------------------------------------------------------------------
def generate_roller(self):
- location = bpy.context.scene.cursor_location
+ location = bpy.context.scene.cursor.location
myloc = copy(location) # copy location to keep 3D cursor position
# ------------------