diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-09-05 12:11:02 +0400 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-09-05 12:11:02 +0400 |
commit | 6a09af70f23226e96bd1c181dcd20eca41665460 (patch) | |
tree | c5b184c7b70d4ab484a9839f6ed43db8aaa31ffe | |
parent | 04cb99b42b0d49e6b075c39a1bfcee84dd85fa51 (diff) |
rotation error in 3d-coat->blender workflow fixed.
-rw-r--r-- | io_coat3D/coat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py index 60ac8599..930efb3f 100644 --- a/io_coat3D/coat.py +++ b/io_coat3D/coat.py @@ -442,6 +442,7 @@ class SCENE_OT_import3b(bpy.types.Operator): import_no = 0 else: bpy.ops.import_scene.obj(filepath=obj_path,axis_forward='X',axis_up='Y') + bpy.ops.object.transform_apply(rotation=True) new_obj = scene.objects[0] scene.objects[0].coat3D.objectdir = export if(path_on): |