Skip to content

Commit

Permalink
Merge branch '5.9' into CURA-12265_the-wiping-movement-goes-in-the-wr…
Browse files Browse the repository at this point in the history
…ong-direction
  • Loading branch information
HellAholic authored Nov 11, 2024
2 parents fd222be + aa9b651 commit f94839a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LayerPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2754,6 +2754,7 @@ void LayerPlan::writeGCode(GCodeExport& gcode)
gcode.writeTravel(current_position, extruder.settings_.get<Velocity>("speed_z_hop"));

// Prevent the final travel(s) from resetting to the 'previous' layer height.
path.z_offset = final_travel_z_ - z_;
gcode.setZ(final_travel_z_);
}
for (size_t point_idx = 0; point_idx + 1 < path.points.size(); point_idx++)
Expand Down

0 comments on commit f94839a

Please sign in to comment.