[Bf-extensions-cvs] [659fec7] master: Update re `mesh.calc_normals_split()` changes in master.

Bastien Montagne noreply at git.blender.org
Mon Jan 19 16:39:40 CET 2015


Commit: 659fec7c5de2afb748cb8c1107a30afe0da65986
Author: Bastien Montagne
Date:   Mon Jan 19 16:38:39 2015 +0100
Branches: master
https://developer.blender.org/rBA659fec7c5de2afb748cb8c1107a30afe0da65986

Update re `mesh.calc_normals_split()` changes in master.

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

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 f02e8db..5cc4d5a 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -950,10 +950,7 @@ def fbx_data_mesh_elements(root, me_obj, scene_data, done_meshes):
         # NOTE: this is not supported by importer currently.
         # XXX Official docs says normals should use IndexToDirect,
         #     but this does not seem well supported by apps currently...
-        if me.use_auto_smooth:
-            me.calc_normals_split(split_angle=me.auto_smooth_angle)
-        else:
-            me.calc_normals_split()
+        me.calc_normals_split()
 
         t_ln = array.array(data_types.ARRAY_FLOAT64, (0.0,)) * len(me.loops) * 3
         me.loops.foreach_get("normal", t_ln)



More information about the Bf-extensions-cvs mailing list