From 5592d4fa602835536ea7b57778c7fd744294a182 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 4 Feb 2019 08:25:35 +0100 Subject: [PATCH] Don't make retraction distance negative Apparently this got changed accidentally because of a merge in an unfortunate time. --- plugins/PostProcessingPlugin/scripts/FilamentChange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/PostProcessingPlugin/scripts/FilamentChange.py b/plugins/PostProcessingPlugin/scripts/FilamentChange.py index d279aa8dce..febb93be4c 100644 --- a/plugins/PostProcessingPlugin/scripts/FilamentChange.py +++ b/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)