mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Set negative values to retraction in the filament change script.
Fixes #4114
This commit is contained in:
parent
62d1cdf0e1
commit
296b74b032
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ class FilamentChange(Script):
|
||||||
color_change = "M600"
|
color_change = "M600"
|
||||||
|
|
||||||
if initial_retract is not None and initial_retract > 0.:
|
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.:
|
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"
|
color_change = color_change + " ; Generated by FilamentChange plugin"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue