[Bf-extensions-cvs] [28a69aa] master: Fix T41405: FBX export issue with 2.71.3 Hash: ee8dafe.

Bastien Montagne noreply at git.blender.org
Mon Aug 11 20:32:05 CEST 2014


Commit: 28a69aaac4be32a07023a2347ad8fe2dab37d9e5
Author: Bastien Montagne
Date:   Mon Aug 11 20:31:12 2014 +0200
Branches: master
https://developer.blender.org/rBA28a69aaac4be32a07023a2347ad8fe2dab37d9e5

Fix T41405: FBX export issue with 2.71.3 Hash: ee8dafe.

Own mistake in previous smoothdata vs normals fix.

===================================================================

M	io_scene_fbx/export_fbx_bin.py

===================================================================

diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index c94108f..65bec71 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -948,6 +948,7 @@ def fbx_data_mesh_elements(root, me_obj, scene_data, done_meshes):
     del edges_map
 
     # Loop normals.
+    tspacenumber = 0
     if (write_normals):
         # NOTE: this is not supported by importer currently.
         # XXX Official docs says normals should use IndexToDirect,
@@ -997,7 +998,6 @@ def fbx_data_mesh_elements(root, me_obj, scene_data, done_meshes):
         del t_ln
 
         # tspace
-        tspacenumber = 0
         if scene_data.settings.use_tspace:
             tspacenumber = len(me.uv_layers)
             if tspacenumber:



More information about the Bf-extensions-cvs mailing list