Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-09-05 12:11:02 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-09-05 12:11:02 +0400
commit6a09af70f23226e96bd1c181dcd20eca41665460 (patch)
treec5b184c7b70d4ab484a9839f6ed43db8aaa31ffe /io_coat3D
parent04cb99b42b0d49e6b075c39a1bfcee84dd85fa51 (diff)
rotation error in 3d-coat->blender workflow fixed.
Diffstat (limited to 'io_coat3D')
-rw-r--r--io_coat3D/coat.py1
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):