From fe2b5b86226b02746ffc7abc38934d9da0ba51ba Mon Sep 17 00:00:00 2001 From: Senpai Date: Sat, 11 Jan 2025 15:09:54 -0600 Subject: [PATCH] Remove number extension from Blender object name before exporting geo --- export_geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)