From f7ed59065a9069de777e4957f48650d72bd2a400 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 25 Jul 2011 02:02:10 +0000 Subject: reverse matrix, vector multiplication order, previous order deprecated. --- io_scene_3ds/import_3ds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_scene_3ds') 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) -- cgit v1.2.3