FIX: adjust nozzle_change_gcode before filament_end_gcode

jira: none
Change-Id: I56498d473568ef0f5a7ba7c149befff55016bda1
This commit is contained in:
zhimin.zeng 2025-03-18 19:53:51 +08:00 committed by lane.wei
parent a894ec9e55
commit 310f13f36a
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
for (const Vec2f& wipe_pt : tcr.nozzle_change_result.wipe_path)
gcodegen.m_wipe.path.points.emplace_back(wipe_tower_point_to_object_point(gcodegen, transform_wt_pt(wipe_pt) + plate_origin_2d));
nozzle_change_gcode_trans += gcodegen.retract(true, false, auto_lift_type, true);
change_filament_gcode = nozzle_change_gcode_trans + change_filament_gcode;
end_filament_gcode_str = nozzle_change_gcode_trans + end_filament_gcode_str;
}
if (! change_filament_gcode.empty()) {