commit 5ac32698d7f0956f4af2def29024d5cb099eb7d1
parent a4ac853eadf860fe1b00b422970b1930d936de00
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 24 Mar 2025 12:11:11 +0100
Remove double '.stl' in file name
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scad_geometry.c b/src/scad_geometry.c
@@ -2181,7 +2181,7 @@ scad_geometries_partition
tmp_err = RES_BAD_OP;
if(dump_overlapping_err) {
if(str_is_empty(&g->name)) {
- str_printf(&tmp, "unamed_partition_error_%lu_%lu.stl",
+ str_printf(&tmp, "unamed_partition_error_%lu_%lu",
err_cpt, (long unsigned)item_cpt++);
tmp_err =
scad_stl_export(g, str_cget(&tmp), Scad_keep_normals_unchanged, 0);
@@ -2193,7 +2193,7 @@ scad_geometries_partition
log_error(get_device(), "Could not dump geoemtry.\n");
}
} else {
- str_printf(&tmp, "%s_partition_error_%lu_%lu.stl",
+ str_printf(&tmp, "%s_partition_error_%lu_%lu",
str_cget(&g->name), err_cpt, (long unsigned)item_cpt++);
tmp_err =
scad_stl_export(g, str_cget(&tmp), Scad_keep_normals_unchanged, 0);