Update Plater.cpp

This commit is contained in:
QIDI TECH
2025-05-09 09:50:11 +08:00
parent ef9e434eac
commit 9b0892b7c2

View File

@@ -14552,7 +14552,7 @@ void Plater::export_gcode(bool prefer_removable)
if (wxGetApp().preset_bundle->prints.get_edited_preset().config.opt_string("filename_format") == "{input_filename_base}.gcode")
default_output_file = fs::path(into_u8(p->get_export_gcode_filename("", true, p->partplate_list.get_curr_plate_index() == PLATE_ALL_IDX ? true : false)));
else
default_output_file = fs::path(into_u8(this->p->background_process.output_filepath_for_project("")));
default_output_file = fs::path(this->p->background_process.output_filepath_for_project(""));
} catch (const Slic3r::PlaceholderParserError &ex) {
// Show the error with monospaced font.