mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: adjust nozzle_change_gcode before filament_end_gcode
jira: none Change-Id: I56498d473568ef0f5a7ba7c149befff55016bda1 (cherry picked from commit 310f13f36a96d8b898edd651cfcf75251ab9fd9d)
This commit is contained in:
@@ -739,7 +739,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);
|
||||
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()) {
|
||||
|
||||
Reference in New Issue
Block a user