Follow-up of 2424f9826f - Fixed the fix in GCodeProcessor.cpp

This commit is contained in:
enricoturri1966 2023-05-25 13:42:42 +02:00
parent 7d82c4c412
commit c03a9d1a3e

View File

@ -3922,6 +3922,7 @@ void GCodeProcessor::post_process()
if (m_print != nullptr) if (m_print != nullptr)
m_print->active_step_add_warning(PrintStateBase::WarningLevel::CRITICAL, warning); m_print->active_step_add_warning(PrintStateBase::WarningLevel::CRITICAL, warning);
} }
}
export_lines.insert_lines(backtrace, cmd, export_lines.insert_lines(backtrace, cmd,
// line inserter // line inserter
[tool_number, this](unsigned int id, float time, float time_diff) { [tool_number, this](unsigned int id, float time, float time_diff) {
@ -3945,7 +3946,6 @@ void GCodeProcessor::post_process()
return line; return line;
}); });
} }
}
}; };
m_result.lines_ends.clear(); m_result.lines_ends.clear();