From fc6ac860fbce55820b5d03b6890befa93f9db9ff Mon Sep 17 00:00:00 2001 From: Michael Klemm Date: Thu, 6 Jun 2024 06:59:57 +0200 Subject: [PATCH] deactivate auto smooth and normal handing until implementation is ready --- export/mesh_converter.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/export/mesh_converter.py b/export/mesh_converter.py index 00077c91..8a7c151e 100644 --- a/export/mesh_converter.py +++ b/export/mesh_converter.py @@ -146,17 +146,18 @@ def _prepare_mesh(obj, depsgraph): object_eval.to_mesh_clear() mesh = None - if mesh: - if mesh.has_custom_normals: - mesh.calc_normals_split() - else: - if mesh.use_auto_smooth: - mesh.split_faces() - - mesh.calc_loop_triangles() - - if mesh.has_custom_normals: - mesh.calc_normals_split() + # TODO implement new normals handling + # if mesh: + # if mesh.has_custom_normals: + # mesh.calc_normals_split() + # else: + # if mesh.use_auto_smooth: + # mesh.split_faces() + # + # mesh.calc_loop_triangles() + # + # if mesh.has_custom_normals: + # mesh.calc_normals_split() yield mesh finally: