ENH: skip_object: add label_object_enabled flag in sliced_info

Change-Id: I7e62fd931d123b328c38da27de9625971938ac4a
This commit is contained in:
lane.wei 2023-06-12 11:23:47 +08:00 committed by Lane.Wei
parent 8973615a8d
commit 49f8d9e697
6 changed files with 23 additions and 3 deletions

View file

@ -1138,6 +1138,8 @@ void GCode::do_export(Print* print, const char* path, GCodeProcessorResult* resu
BOOST_LOG_TRIVIAL(info) << "Exporting G-code finished" << log_memory_info();
print->set_done(psGCodeExport);
//BBS: set enable_label_object
result->label_object_enabled = m_enable_label_object;
// Write the profiler measurements to file
PROFILE_UPDATE();