From 63315d80a724f294b1f42129ca66178a7fbf29cd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jun 2011 04:12:59 +0000 Subject: fix [#27593] Obj exporter errors reappeared --- io_scene_obj/export_obj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io_scene_obj') diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index 7e2aa1ed..a32e51f4 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -345,7 +345,7 @@ def write_file(filepath, objects, scene, # Nurbs curve support if EXPORT_CURVE_AS_NURBS and test_nurbs_compat(ob): - ob_mat = ob_mat * EXPORT_GLOBAL_MATRIX + ob_mat = EXPORT_GLOBAL_MATRIX * ob_mat totverts += write_nurb(file, ob, ob_mat) continue # END NURBS @@ -354,7 +354,7 @@ def write_file(filepath, objects, scene, continue me = ob.to_mesh(scene, EXPORT_APPLY_MODIFIERS, 'PREVIEW') - me.transform(ob_mat * EXPORT_GLOBAL_MATRIX) + me.transform(EXPORT_GLOBAL_MATRIX * ob_mat) # # Will work for non meshes now! :) # me= BPyMesh.getMeshFromObject(ob, containerMesh, EXPORT_APPLY_MODIFIERS, EXPORT_POLYGROUPS, scn) -- cgit v1.2.3