Browse Source

Don't make retraction distance negative

Apparently this got changed accidentally because of a merge in an unfortunate time.
Ghostkeeper 6 years ago
parent
commit
5592d4fa60
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/PostProcessingPlugin/scripts/FilamentChange.py

+ 2 - 2
plugins/PostProcessingPlugin/scripts/FilamentChange.py

@@ -1,4 +1,4 @@
-# Copyright (c) 2018 Ultimaker B.V.
+# Copyright (c) 2019 Ultimaker B.V.
 # The PostProcessingPlugin is released under the terms of the AGPLv3 or higher.
 
 from typing import Optional, Tuple
@@ -80,7 +80,7 @@ class FilamentChange(Script):
             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)
 
         if x_pos is not None:
             color_change = color_change + (" X%.2f" % x_pos)