Files
OrcaSlicer/src
HanifKoh 7fbacdfe7a Stop Reading an Uninitialised Position When Routing Back to the Type 1 Wipe Tower (#17930)
After a filament change on a Type 1 wipe tower with "Skip points" on, the travel back to the tower started from `gcode_last_pos`, which was never initialised. An axis the change G-code doesn't move kept whatever was on the stack, so the route could cut across the tower or go the long way round, and the same slice could give different G-code between runs.

That axis now starts at the head's last tracked position from before the change G-code. This changes slices on the Bambu Lab A2L, H2C, P2S and X2D and the Qidi Q2 and Q2C, and adds a regression test to `test_wipe_tower.cpp`.
2026-11-26 21:13:56 -06:00
..