From 1cae33d1b569bf5c682d7b38659dbd50a8cc6c54 Mon Sep 17 00:00:00 2001 From: pgsocks Date: Wed, 10 Jul 2024 02:23:51 +0000 Subject: [PATCH] Use `flip_normals` since `calc_normals` is deprecated --- export_geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export_geo.py b/export_geo.py index 3ba7f06..20b3067 100644 --- a/export_geo.py +++ b/export_geo.py @@ -160,7 +160,7 @@ def save(operator, context, scale = 1.0, filepath = "", global_matrix = None, us else: mesh.transform(global_matrix @ scale_matrix @ translate_matrix @ axis_rotation) - mesh.calc_normals() + mesh.flip_normals() geo_model = geo.addModel(ob.name)