diff options
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r-- | io_import_images_as_planes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index 0180e474..3156d293 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -185,7 +185,7 @@ def align_planes(self, planes): offset += (plane.dimensions.x / 2) + gap if i == 0: continue move_local = mathutils.Vector((offset, 0, 0)) - move_world = plane.location + move_local * plane.matrix_world.copy().invert() + move_world = plane.location + move_local * plane.matrix_world.inverted() plane.location += move_world offset += (plane.dimensions.x / 2) |