Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Kröger <o.kroeger@opensourc.es>2022-03-03 13:03:33 +0300
committerGitHub <noreply@github.com>2022-03-03 13:03:33 +0300
commit893da1ed389d66350419aba32cd02e968211409f (patch)
tree557f05c6e226869eabe7c5cea258fbe75b0301f1 /plugins/GCodeReader
parent0ff94c6150ac6bcfb1c03677fd438e51f27887dd (diff)
Update plugins/GCodeReader/FlavorParser.py
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
Diffstat (limited to 'plugins/GCodeReader')
-rw-r--r--plugins/GCodeReader/FlavorParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py
index 147718449a..ac24ce3184 100644
--- a/plugins/GCodeReader/FlavorParser.py
+++ b/plugins/GCodeReader/FlavorParser.py
@@ -355,7 +355,7 @@ class FlavorParser:
Logger.log("d", "Parsing g-code...")
- current_position = Position(0, 0, 0, 0, [0,0,0,0])
+ current_position = Position(0, 0, 0, 0, [0] * 8)
current_path = [] #type: List[List[float]]
min_layer_number = 0
negative_layers = 0