diff options
Diffstat (limited to 'tools/export/blender25')
-rw-r--r-- | tools/export/blender25/io_scene_dae/export_dae.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py index 74376eff01..7899098e3d 100644 --- a/tools/export/blender25/io_scene_dae/export_dae.py +++ b/tools/export/blender25/io_scene_dae/export_dae.py @@ -484,7 +484,10 @@ class DaeExporter: mat_assign=[] uv_layer_count=len(mesh.uv_textures) - mesh.calc_tangents() + if (len(mesh.uv_textures)): + mesh.calc_tangents() + else: + mesh.calc_normals_split() for fi in range(len(mesh.polygons)): |