Need to export the mesh-object into the bind-pose otherwise Maya complains the FBX has errors.

This commit is contained in:
Campbell Barton 2009-05-18 04:33:33 +00:00
parent 5a16f0b60c
commit bd7b92bfb5

@ -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')