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 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 26e7ee86..fdff3603 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -1072,7 +1072,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
elif self.size_mode == 'CAMERA':
x, y = compute_camera_size(
- context, context.scene.cursor_location,
+ context, context.scene.cursor.location,
self.fill_mode, px / py
)