diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-05-18 08:33:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-05-18 08:33:33 +0400 |
commit | bd7b92bfb5be39cac141a560f083ec0241cb4474 (patch) | |
tree | d46bf0218492ce831f0d15d4663441d79447815d /release | |
parent | 5a16f0b60cf373016881d1ce2d67a84b4121f265 (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.py | 3 |
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') |