mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Set negative values to retraction in the filament change script.
Fixes #4114
This commit is contained in:
parent
62d1cdf0e1
commit
296b74b032
@ -58,10 +58,10 @@ class FilamentChange(Script):
|
||||
color_change = "M600"
|
||||
|
||||
if initial_retract is not None and initial_retract > 0.:
|
||||
color_change = color_change + (" E%.2f" % initial_retract)
|
||||
color_change = color_change + (" E-%.2f" % initial_retract)
|
||||
|
||||
if later_retract is not None and later_retract > 0.:
|
||||
color_change = color_change + (" L%.2f" % later_retract)
|
||||
color_change = color_change + (" L-%.2f" % later_retract)
|
||||
|
||||
color_change = color_change + " ; Generated by FilamentChange plugin"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user