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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-25 06:02:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-25 06:02:10 +0400
commitf7ed59065a9069de777e4957f48650d72bd2a400 (patch)
treeee3ea6c554015dc242c89dbfe72b51a1963e4121 /io_scene_3ds
parentc8c166df88185920d098144dd4d8c894d2288a4c (diff)
reverse matrix, vector multiplication order,
previous order deprecated.
Diffstat (limited to 'io_scene_3ds')
-rw-r--r--io_scene_3ds/import_3ds.py2
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)