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:28 +0300
committerGitHub <noreply@github.com>2022-03-03 13:03:28 +0300
commit0ff94c6150ac6bcfb1c03677fd438e51f27887dd (patch)
tree3288cc86a456c16a0ec48a1875876c1ec7c366d2 /plugins/GCodeReader
parent812bf2f4aabef46d100e02d76687e4175bf5f32b (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 428d9739b0..147718449a 100644
--- a/plugins/GCodeReader/FlavorParser.py
+++ b/plugins/GCodeReader/FlavorParser.py
@@ -53,7 +53,7 @@ class FlavorParser:
def _clearValues(self) -> None:
self._extruder_number = 0
- self._extrusion_length_offset = [0,0,0,0] # type: List[float]
+ self._extrusion_length_offset = [0] * 8 # type: List[float]
self._layer_type = LayerPolygon.Inset0Type
self._layer_number = 0
self._previous_z = 0 # type: float