mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
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.
This commit is contained in:
parent
5160373580
commit
a7e1910711
@ -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 != "":
|
||||
|
Loading…
x
Reference in New Issue
Block a user