diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-19 18:38:39 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-19 18:38:39 +0300 |
commit | 659fec7c5de2afb748cb8c1107a30afe0da65986 (patch) | |
tree | ae9c4d2254d774c1aad03fb2f46761f2a7624b96 /io_scene_fbx | |
parent | adf31955f35c3019d697d0e3499c10296bfc5e2f (diff) |
Update re `mesh.calc_normals_split()` changes in master.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index f02e8db3..5cc4d5a8 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) |