Skip to content

Commit ed3f9f1

Browse files
committed
fix: only wipe on prime tower when enabled (CURA-2605)
1 parent 18bf08a commit ed3f9f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/PrimeTower.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ void PrimeTower::addToGcode(const SliceDataStorage& storage, GCodePlanner& gcode
185185
wipe = false;
186186
}
187187
// pre-wipe:
188-
preWipe(storage, gcodeLayer, new_extruder);
188+
if (wipe)
189+
{
190+
preWipe(storage, gcodeLayer, new_extruder);
191+
}
189192

190193
addToGcode_denseInfill(storage, gcodeLayer, gcode, layer_nr, prev_extruder);
191194

0 commit comments

Comments
 (0)