mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Fixed an issue that EXCLUDE_OBJECT_DEFINE info was written into gcode file regardless
This commit is contained in:
parent
85251de418
commit
96a8f92b65
1 changed files with 2 additions and 1 deletions
|
@ -1634,7 +1634,8 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||
file.write_format("; EXECUTABLE_BLOCK_START\n");
|
||||
|
||||
// SoftFever
|
||||
file.write(set_object_info(&print));
|
||||
if( m_config.gcode_flavor.value == gcfKlipper && m_enable_exclude_object)
|
||||
file.write(set_object_info(&print));
|
||||
|
||||
// adds tags for time estimators
|
||||
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::First_Line_M73_Placeholder).c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue