FIX: incorrect print sequence of support filament on first layer
jira: none Change-Id: I893fc773849a5557c138de3f9bd1c3ec1e1978df
This commit is contained in:
parent
85ebb46995
commit
3b988f6b77
|
@ -2134,6 +2134,8 @@ 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) {
|
||||
|
@ -5403,9 +5405,6 @@ std::string GCode::retract(bool toolchange, bool is_last_retraction, LiftType li
|
|||
|
||||
std::string GCode::set_extruder(unsigned int new_filament_id, double print_z, bool by_object)
|
||||
{
|
||||
//init extrude
|
||||
m_writer.init_extruder(new_filament_id);
|
||||
|
||||
int new_extruder_id = get_extruder_id(new_filament_id);
|
||||
if (!m_writer.need_toolchange(new_filament_id))
|
||||
return "";
|
||||
|
|
Loading…
Reference in New Issue