Index: export_openscad.c =================================================================== --- export_openscad.c (revision 21305) +++ export_openscad.c (revision 21306) @@ -130,11 +130,10 @@ static pcb_hid_attribute_t *openscad_get_export_options(int *n) { - static char *last_made_filename = 0; const char *suffix = ".scad"; if (PCB) - pcb_derive_default_filename(PCB->Filename, &openscad_attribute_list[HA_openscadfile], suffix, &last_made_filename); + pcb_derive_default_filename(PCB->Filename, &openscad_attribute_list[HA_openscadfile], suffix); if (n) *n = NUM_OPTIONS;