diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 08:12:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 08:12:59 +0400 |
commit | 63315d80a724f294b1f42129ca66178a7fbf29cd (patch) | |
tree | 5e3bed31cb01aff9b6ef3f264a5945501f2d6507 /io_scene_obj | |
parent | c53c90b915926210306a1d2b7a841280cba08aef (diff) |
fix [#27593] Obj exporter errors reappeared
Diffstat (limited to 'io_scene_obj')
-rw-r--r-- | io_scene_obj/export_obj.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |