Use `flip_normals` since `calc_normals` is deprecated

master
pgsocks 4 months ago
parent 64a56b07cf
commit 1cae33d1b5

@ -160,7 +160,7 @@ def save(operator, context, scale = 1.0, filepath = "", global_matrix = None, us
else: else:
mesh.transform(global_matrix @ scale_matrix @ translate_matrix @ axis_rotation) mesh.transform(global_matrix @ scale_matrix @ translate_matrix @ axis_rotation)
mesh.calc_normals() mesh.flip_normals()
geo_model = geo.addModel(ob.name) geo_model = geo.addModel(ob.name)

Loading…
Cancel
Save