diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 04:49:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 04:51:10 +0300 |
commit | 9999dada60a64eb27b37c4d711f4c3979888253e (patch) | |
tree | b325eb58ec754c883683696683933fc9d368eb0d /archimesh/achm_books_maker.py | |
parent | dd0dffef42ae64d1bf16e879e3f1470ce3bf5cad (diff) |
Update for API change: scene.cursor_location -> scene.cursor.location
Note that some scripts still used the 3D view cursor which has been
removed for a while.
Diffstat (limited to 'archimesh/achm_books_maker.py')
-rw-r--r-- | archimesh/achm_books_maker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archimesh/achm_books_maker.py b/archimesh/achm_books_maker.py index a3468be9..87373030 100644 --- a/archimesh/achm_books_maker.py +++ b/archimesh/achm_books_maker.py @@ -184,7 +184,7 @@ def create_book_mesh(self): # ------------------------------------------------------------------------------ def generate_books(self): boxes = [] - location = bpy.context.scene.cursor_location + location = bpy.context.scene.cursor.location myloc = copy(location) # copy location to keep 3D cursor position # Create |