From a7e191071128a0d447fffc7e0532133f7fd4dc83 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 26 Feb 2018 09:54:07 +0100 Subject: [PATCH] Add E in the priority list This way we're assured of the order in which these parameters occur, even though the firmware doesn't care about it. It's easier to read though. --- plugins/PostProcessingPlugin/Script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/Script.py b/plugins/PostProcessingPlugin/Script.py index 5d9362c851..7f419cd422 100644 --- a/plugins/PostProcessingPlugin/Script.py +++ b/plugins/PostProcessingPlugin/Script.py @@ -137,7 +137,7 @@ class Script: #Write the new g-code line. result = "" - priority_parameters = ["G", "M", "T", "S", "F", "X", "Y", "Z"] #First some parameters that get priority. In order of priority! + priority_parameters = ["G", "M", "T", "S", "F", "X", "Y", "Z", "E"] #First some parameters that get priority. In order of priority! for priority_key in priority_parameters: if priority_key in kwargs: if result != "":