mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Add missing VT
This commit is contained in:
@@ -2666,6 +2666,8 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||||||
//BBS: gcode writer doesn't know where the real position of extruder is after inserting custom gcode
|
//BBS: gcode writer doesn't know where the real position of extruder is after inserting custom gcode
|
||||||
m_writer.set_current_position_clear(false);
|
m_writer.set_current_position_clear(false);
|
||||||
m_start_gcode_filament = GCodeProcessor::get_gcode_last_filament(machine_start_gcode);
|
m_start_gcode_filament = GCodeProcessor::get_gcode_last_filament(machine_start_gcode);
|
||||||
|
// mark the first filament used in print
|
||||||
|
file.write_format(";VT%d\n",initial_extruder_id);
|
||||||
|
|
||||||
//flush FanMover buffer to avoid modifying the start gcode if it's manual.
|
//flush FanMover buffer to avoid modifying the start gcode if it's manual.
|
||||||
if (!machine_start_gcode.empty() && this->m_fan_mover.get() != nullptr)
|
if (!machine_start_gcode.empty() && this->m_fan_mover.get() != nullptr)
|
||||||
|
|||||||
Reference in New Issue
Block a user