FIX: Close scan_first_layer when PA line cali

Jira: XXXX
Change-Id: Ide5c0038f4028b8f1d445a6b2d09b705d7872fb8
This commit is contained in:
zhimin.zeng 2023-12-04 15:50:13 +08:00 committed by Lane.Wei
parent 9d1cdead44
commit 13ba53b592
1 changed files with 3 additions and 0 deletions

View File

@ -1991,6 +1991,9 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
m_placeholder_parser.set("outer_wall_volumetric_speed", new ConfigOptionFloat(outer_wall_volumetric_speed));
}
if (print.calib_params().mode == CalibMode::Calib_PA_Line) {
m_placeholder_parser.set("scan_first_layer", new ConfigOptionBool(false));
}
}
std::string machine_start_gcode = this->placeholder_parser_process("machine_start_gcode", print.config().machine_start_gcode.value, initial_extruder_id);
if (print.config().gcode_flavor != gcfKlipper) {