FIX: fix error path in wipe_tower

jira: none
Change-Id: Ia13ae92c61de0d5a361e7d00ec85ff21a04dfc6c
This commit is contained in:
jiangkai.zhao 2025-01-23 16:46:31 +08:00 committed by lane.wei
parent bfe30573c6
commit 8ce8c3ffbb
1 changed files with 3 additions and 0 deletions

View File

@ -982,6 +982,9 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
gcode_out += oss.str();
}
}
old_pos = Vec2f{-1000.1f, -1000.1f};
pos = tcr.tool_change_start_pos;
transformed_pos = pos;
}
}
return gcode_out;