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:
-rw-r--r--space_view3d_stored_views/core.py2
-rw-r--r--space_view3d_stored_views/stored_views_test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_stored_views/core.py b/space_view3d_stored_views/core.py
index 5360b4bb..43f46d4a 100644
--- a/space_view3d_stored_views/core.py
+++ b/space_view3d_stored_views/core.py
@@ -90,7 +90,7 @@ class POV(StoredView):
view3d.lock_cursor = stored_view.lock_cursor
if stored_view.lock_cursor is True:
# update cursor only if view is locked to cursor
- view3d.cursor_location = stored_view.cursor_location
+ self.scene.cursor.location = stored_view.cursor_location
if stored_view.perspective == "CAMERA":
diff --git a/space_view3d_stored_views/stored_views_test.py b/space_view3d_stored_views/stored_views_test.py
index 19b2a0ef..a3d64002 100644
--- a/space_view3d_stored_views/stored_views_test.py
+++ b/space_view3d_stored_views/stored_views_test.py
@@ -164,7 +164,7 @@ class POV(StoredView):
view3d.lock_cursor = stored_view.lock_cursor
if stored_view.lock_cursor is True:
# update cursor only if view is locked to cursor
- view3d.cursor_location = stored_view.cursor_location
+ self.scene.cursor.location = stored_view.cursor_location
if stored_view.perspective == "CAMERA":