diff --git a/export_geo.py b/export_geo.py index 55b3e75..655bd62 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) - geo_model = geo.addModel(ob.name) + geo_model = geo.addModel(ob.name.rsplit(".", 1)[0]) convert_mesh(geo_model, mesh, ob)