ENH: support object exclude for octoprinter
Github: 4199 Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: I0c6828ab2e23fda305bafee37d32eff7e99561eb
This commit is contained in:
parent
e6e9bcfb91
commit
2c143c0aef
|
@ -3545,6 +3545,9 @@ GCode::LayerResult GCode::process_layer(
|
|||
if (print.is_BBL_Printer()) {
|
||||
start_str += ("M624 " + _encode_label_ids_to_base64({ instance_to_print.label_object_id }));
|
||||
start_str += "\n";
|
||||
} else {
|
||||
// BBS: support octoprint exclude object
|
||||
start_str += std::string("; printing object ") + get_instance_name(&instance_to_print.print_object, inst.id) + "\n";
|
||||
}
|
||||
temp_start_str = start_str;
|
||||
m_writer.set_object_start_str(start_str);
|
||||
|
|
Loading…
Reference in New Issue