mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:29:05 +08:00
Keep current_e updated even if not finding retractions
Otherwise the new E is never going to be lower than the current E. I don't know how this ever worked then. Contributes to issue CURA-7351.
This commit is contained in:
parent
d9649dc3dd
commit
9b997d421b
@ -42,6 +42,7 @@ class RetractContinue(Script):
|
||||
continue
|
||||
new_e = self.getValue(line, "E")
|
||||
if new_e >= current_e: # Not a retraction.
|
||||
current_e = new_e
|
||||
continue
|
||||
# A retracted travel move may consist of multiple commands, due to combing.
|
||||
# This continues retracting over all of these moves and only unretracts at the end.
|
||||
|
Loading…
x
Reference in New Issue
Block a user