FIX: initialize variables is_tool_change of wipe tower

and and modify the start position for tpu
jira: none

Change-Id: I75b09e7839ddd3b9fffe77392e573e1d8caa00d5
(cherry picked from commit fce47aa8cb59fb718ff30a7c7eebda30fc83119d)
This commit is contained in:
zhimin.zeng
2025-01-03 18:02:19 +08:00
committed by Noisyfox
parent 4970db4ee2
commit 307d51d903
2 changed files with 10 additions and 12 deletions

View File

@@ -72,7 +72,7 @@ public:
// Is this a priming extrusion? (If so, the wipe tower rotation & translation will not be applied later)
bool priming;
bool is_tool_change;
bool is_tool_change{false};
Vec2f tool_change_start_pos;
// Pass a polyline so that normal G-code generator can do a wipe for us.