mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH: fix issue that sommetimes no wipe path is generated
This is handling for github issue #1072 Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I253be46b07054eb69ddbad3889e31dfca57b2a52
This commit is contained in:
parent
27fc88169e
commit
4a3a4645f0
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ bool GCode::gcode_label_objects = false;
|
|||
// Shorten the retraction length by the amount already retracted before wipe.
|
||||
length *= (1. - gcodegen.writer().extruder()->retract_before_wipe());
|
||||
|
||||
if (length > 0) {
|
||||
if (length >= 0) {
|
||||
/* Calculate how long we need to travel in order to consume the required
|
||||
amount of retraction. In other words, how far do we move in XY at wipe_speed
|
||||
for the time needed to consume retraction_length at retraction_speed? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue