Skip to content

Commit

Permalink
Fix potentially wrong unretraction amount
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed May 23, 2024
1 parent 799c0f1 commit 24e3b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcodeExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ void GCodeExport::writeApproachToSeam(const Point2LL& pos, const Velocity& speed
{
double unretraction_factor = static_cast<double>(vSize((*it).end - (*it).start)) / actual_unretraction_path_length;
double unretraction_amount_segment = unretraction_factor * actual_unretracted_amount;
writeUnretractionAndPrime((*it).end, speed, unretraction_amount_segment);
writeUnretractionAndPrime((*it).end, speed, mmToE(unretraction_amount_segment));
}
}
}
Expand Down

0 comments on commit 24e3b50

Please sign in to comment.