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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-05-18 08:33:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-18 08:33:33 +0400
commitbd7b92bfb5be39cac141a560f083ec0241cb4474 (patch)
treed46bf0218492ce831f0d15d4663441d79447815d /release
parent5a16f0b60cf373016881d1ce2d67a84b4121f265 (diff)
Need to export the mesh-object into the bind-pose otherwise Maya complains the FBX has errors.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/export_fbx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/export_fbx.py b/release/scripts/export_fbx.py
index 52d1f3a62f3..4115140a852 100644
--- a/release/scripts/export_fbx.py
+++ b/release/scripts/export_fbx.py
@@ -1364,7 +1364,8 @@ def write(filename, batch_objects = None, \
file.write('\n\tModel: "Model::%s", "Mesh" {' % my_mesh.fbxName)
file.write('\n\t\tVersion: 232') # newline is added in write_object_props
- write_object_props(my_mesh.blenObject, None, my_mesh.parRelMatrix())
+ poseMatrix = write_object_props(my_mesh.blenObject, None, my_mesh.parRelMatrix())[3]
+ pose_items.append((my_mesh.fbxName, poseMatrix))
file.write('\n\t\t}')
file.write('\n\t\tMultiLayer: 0')