Update plugins/GCodeReader/FlavorParser.py

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Ole Kröger 2022-03-03 11:03:28 +01:00 committed by GitHub
parent 812bf2f4aa
commit 0ff94c6150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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