mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 18:01:59 +08:00
Fix current z when moving to wipe tower
This commit is contained in:
parent
fac23c17d2
commit
90c1a5df99
@ -72,7 +72,7 @@ std::string WipeTowerIntegration::append_tcr(GCodeGenerator &gcodegen, const Wip
|
||||
gcode += gcodegen.travel_to_first_position(to, current_z, ExtrusionRole::Mixed, [](){return "";});
|
||||
} else {
|
||||
if (gcodegen.last_position) {
|
||||
const Vec3crd from{to_3d(*gcodegen.last_position, scaled(z))};
|
||||
const Vec3crd from{to_3d(*gcodegen.last_position, scaled(current_z))};
|
||||
gcode += gcodegen.travel_to(
|
||||
from, to, ExtrusionRole::Mixed, comment, [](){return "";}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user