diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-15 19:45:00 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-15 19:45:00 +0400 |
commit | ea798111bfdd1cb4db4e42bce260c5988960a70b (patch) | |
tree | 4aa461b36569ad180382383eaed5e731f49ddb19 /io_scene_fbx/export_fbx.py | |
parent | ab00b6d5a2e394ba08a53d073c7e862980df09d6 (diff) |
Fix a bug reported on IRC by mifth (a print was assuming org obj was a mesh...). Also cleaned up another debug print, we do not need those!
Diffstat (limited to 'io_scene_fbx/export_fbx.py')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index 004d4ade..94ffe377 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1371,14 +1371,13 @@ def save_single(operator, scene, filepath="", me = my_mesh.blenData # if there are non None materials on this mesh - print(my_mesh.blenMaterials) do_materials = bool([m for m in my_mesh.blenMaterials if m is not None]) do_textures = bool([t for t in my_mesh.blenTextures if t is not None]) do_uvs = bool(me.uv_layers) do_shapekeys = (my_mesh.blenObject.type == 'MESH' and my_mesh.blenObject.data.shape_keys and len(my_mesh.blenObject.data.vertices) == len(me.vertices)) - print(len(my_mesh.blenObject.data.vertices), len(me.vertices)) + # print(len(my_mesh.blenObject.data.vertices), len(me.vertices)) # XXX does not work when org obj is no mesh! fw('\n\tModel: "Model::%s", "Mesh" {' % my_mesh.fbxName) fw('\n\t\tVersion: 232') # newline is added in write_object_props |