diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 06:02:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 06:02:10 +0400 |
commit | f7ed59065a9069de777e4957f48650d72bd2a400 (patch) | |
tree | ee3ea6c554015dc242c89dbfe72b51a1963e4121 /io_scene_3ds | |
parent | c8c166df88185920d098144dd4d8c894d2288a4c (diff) |
reverse matrix, vector multiplication order,
previous order deprecated.
Diffstat (limited to 'io_scene_3ds')
-rw-r--r-- | io_scene_3ds/import_3ds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py index 9dfda2aa..209fc404 100644 --- a/io_scene_3ds/import_3ds.py +++ b/io_scene_3ds/import_3ds.py @@ -767,7 +767,7 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH): if ob.type == 'MESH': pivot = pivot_list[ind] pivot_matrix = object_matrix.get(ob, mathutils.Matrix()) # unlikely to fail - pivot_matrix = mathutils.Matrix.Translation(-pivot * pivot_matrix.to_3x3()) + pivot_matrix = mathutils.Matrix.Translation(pivot_matrix.to_3x3() * -pivot) ob.data.transform(pivot_matrix) |