FIX: delete special symbol for filename

delete special symbol when plateName for filename

Change-Id: Ibb6b6603bc2ca040cb765dbedd013564ebcf3dff
(cherry picked from commit 840c085ae842e77b81de73def038fa9b417eac84)
This commit is contained in:
zhou.xu 2023-06-12 14:19:44 +08:00 committed by Lane.Wei
parent eca3d311d7
commit ca81c370fd
4 changed files with 21 additions and 5 deletions

View file

@ -9474,7 +9474,7 @@ void Plater::export_gcode_3mf(bool export_all)
//BBS replace gcode extension to .gcode.3mf
default_output_file = default_output_file.replace_extension(".gcode.3mf");
default_output_file = fs::path(Slic3r::fold_utf8_to_ascii(default_output_file.string()));
default_output_file = fs::path(Slic3r::fold_utf8_to_ascii(default_output_file.string(),true));
//Get a last save path
start_dir = appconfig.get_last_output_dir(default_output_file.parent_path().string(), false);