[Bf-extensions-cvs] [135950e] dxf_import: Fix T41405: FBX export issue with 2.71.3 Hash: ee8dafe.

Bastien Montagne noreply at git.blender.org
Fri Aug 15 12:38:29 CEST 2014


Commit: 135950e820cba60fc7c92f50009818138aa416cc
Author: Bastien Montagne
Date:   Mon Aug 11 20:31:12 2014 +0200
Branches: dxf_import
https://developer.blender.org/rBA135950e820cba60fc7c92f50009818138aa416cc

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