handle klipper set_velocity_limit

This commit is contained in:
SoftFever 2022-10-30 00:24:08 +08:00
parent 258f800b8b
commit fdb4196ad5
3 changed files with 65 additions and 4 deletions

View file

@ -906,6 +906,7 @@ void GCode::do_export(Print* print, const char* path, GCodeProcessorResult* resu
return;
BOOST_LOG_TRIVIAL(info) << boost::format("Will export G-code to %1% soon")%path;
GCodeProcessor::s_IsBBLPrinter = print->is_BBL_printer();
print->set_started(psGCodeExport);
if (print->is_BBL_printer())
@ -913,7 +914,6 @@ void GCode::do_export(Print* print, const char* path, GCodeProcessorResult* resu
else
gcode_label_objects = true;
GCodeProcessor::s_IsBBLPrinter = print->is_BBL_printer();
// check if any custom gcode contains keywords used by the gcode processor to
// produce time estimation and gcode toolpaths