Remove number extension from Blender object name before exporting geo

master
Senpai 1 week ago
parent a73a114b89
commit fe2b5b8622

@ -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)
geo_model = geo.addModel(ob.name) geo_model = geo.addModel(ob.name.rsplit(".", 1)[0])
convert_mesh(geo_model, mesh, ob) convert_mesh(geo_model, mesh, ob)

Loading…
Cancel
Save