@ -160,8 +160,6 @@ def save(operator, context, scale = 1.0, filepath = "", global_matrix = None, us
else:
mesh.transform(global_matrix @ scale_matrix @ translate_matrix @ axis_rotation)
mesh.flip_normals()
geo_model = geo.addModel(ob.name)
convert_mesh(geo_model, mesh, ob)
@ -98,6 +98,7 @@ def convert_model(geo_model, mesh_data, obj, scale):
mesh_data.update()
mesh_data.vertices.foreach_set("normal", normals)
mesh_data.flip_normals()
#todo: attempt to load textures/images