mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Use .gcode.3mf as ext for gcode 3mf files (#8928)
This commit is contained in:
parent
69154652ba
commit
e6467d4872
3 changed files with 5 additions and 3 deletions
|
@ -11694,7 +11694,7 @@ void Plater::export_gcode_3mf(bool export_all)
|
|||
show_error(this, ex.what(), false);
|
||||
return;
|
||||
}
|
||||
default_output_file.replace_extension(".3mf");
|
||||
default_output_file.replace_extension(".gcode.3mf");
|
||||
default_output_file = fs::path(Slic3r::fold_utf8_to_ascii(default_output_file.string()));
|
||||
|
||||
//Get a last save path
|
||||
|
@ -11706,7 +11706,7 @@ void Plater::export_gcode_3mf(bool export_all)
|
|||
wxFileDialog dlg(this, _L("Save Sliced file as:"),
|
||||
start_dir,
|
||||
from_path(default_output_file.filename()),
|
||||
GUI::file_wildcards(FT_3MF, ext),
|
||||
GUI::file_wildcards(FT_GCODE_3MF, ""),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
|
||||
);
|
||||
if (dlg.ShowModal() == wxID_OK) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue