mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 20:22:00 +08:00
Fixed wipe tower generation when non-zero extruder offset is used (SPE-2002, broken in c669293)
This commit is contained in:
parent
9e69eecb5d
commit
aa0bc7489f
@ -180,7 +180,7 @@ std::string WipeTowerIntegration::post_process_wipe_tower_moves(const WipeTower:
|
||||
gcode_out += line + "\n";
|
||||
|
||||
// If this was a toolchange command, we should change current extruder offset
|
||||
if (line == "[toolchange_gcode]") {
|
||||
if (line == "[toolchange_gcode_from_wipe_tower_generator]") {
|
||||
extruder_offset = m_extruder_offsets[tcr.new_tool].cast<float>();
|
||||
|
||||
// If the extruder offset changed, add an extra move so everything is continuous
|
||||
|
Loading…
x
Reference in New Issue
Block a user