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

Own mistake in previous smoothdata vs normals fix.
This commit is contained in:
Bastien Montagne 2014-08-11 20:31:12 +02:00
parent e35de9d174
commit 28a69aaac4
Notes: blender-bot 2023-02-14 10:14:09 +01:00
Referenced by issue blender/blender#41405, FBX export issue with 2.71.3 Hash: ee8dafe
1 changed files with 1 additions and 1 deletions

View File

@ -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: