FIX: prime tower start position is incorrect

when support material is used in first tool change

Change-Id: If06459b8404fd599b42187859f476efded57deba
(cherry picked from commit 71f9ed69a3eff4cf3139d04a76176f798a1e1e0d)
This commit is contained in:
zhimin.zeng 2022-11-07 18:50:07 +08:00 committed by Lane.Wei
parent 118a13200b
commit 82325973f8
2 changed files with 13 additions and 3 deletions

View file

@ -217,7 +217,7 @@ public:
// Returns gcode for a toolchange and a final print head position.
// On the first layer, extrude a brim around the future wipe tower first.
// BBS
ToolChangeResult tool_change(size_t new_tool, bool extrude_perimeter = false);
ToolChangeResult tool_change(size_t new_tool, bool extrude_perimeter = false, bool first_toolchange_to_nonsoluble = false);
// Fill the unfilled space with a sparse infill.
// Call this method only if layer_finished() is false.