diff options
-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) |