diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-22 23:54:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-22 23:54:26 +0300 |
commit | 166980b6fe5b532180647165c8984c5440191a49 (patch) | |
tree | cf39e4ea597d4c4bcd8ec80ed9541c6ab5a3b4c9 /release | |
parent | 5e4f03ea0895e84d9b5175e4c4cd6e882fee6c60 (diff) |
fix [#24866] object/transform/align objects error
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/object_align.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/op/object_align.py b/release/scripts/op/object_align.py index 359ffa9aabe..ca362e67e79 100644 --- a/release/scripts/op/object_align.py +++ b/release/scripts/op/object_align.py @@ -34,7 +34,7 @@ def align_objects(align_x, align_y, align_z, align_mode, relative_to): for obj in bpy.context.selected_objects: if obj.type == 'MESH': - bb_world = [obj.matrix_world * Vector(v[:]) for v in obj.bound_box] + bb_world = [Vector(v[:]) * obj.matrix_world for v in obj.bound_box] Left_Up_Front = bb_world[1] Right_Down_Back = bb_world[7] |