FIX: missing filament start gcode with 1 color

1. Caused by setting the current filament to filaments used
in machine start gcode

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If6789b1e02aadc6d03610b7b7cc4c829ae767a7d
This commit is contained in:
xun.zhang 2024-09-25 16:31:50 +08:00 committed by lane.wei
parent 51de6253ce
commit 8c88fabe8f
1 changed files with 0 additions and 3 deletions

View File

@ -2134,9 +2134,6 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
m_writer.set_current_position_clear(false);
m_start_gcode_filament = GCodeProcessor::get_gcode_last_filament(machine_start_gcode);
// init extrude
m_writer.init_extruder(initial_non_support_extruder_id);
// Process filament-specific gcode.
/* if (has_wipe_tower) {
// Wipe tower will control the extruder switching, it will call the filament_start_gcode.