clear m_calib_config before each print

This commit is contained in:
SoftFever 2023-07-07 01:03:32 +08:00
parent bdf8c8d5b1
commit 809278320e

View file

@ -1435,6 +1435,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
// modifies m_silent_time_estimator_enabled // modifies m_silent_time_estimator_enabled
DoExport::init_gcode_processor(print.config(), m_processor, m_silent_time_estimator_enabled); DoExport::init_gcode_processor(print.config(), m_processor, m_silent_time_estimator_enabled);
const bool is_bbl_printers = print.is_BBL_printer(); const bool is_bbl_printers = print.is_BBL_printer();
m_calib_config.clear();
// resets analyzer's tracking data // resets analyzer's tracking data
m_last_height = 0.f; m_last_height = 0.f;
m_last_layer_z = 0.f; m_last_layer_z = 0.f;