mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Typing error in CI CURA-5769
This commit is contained in:
parent
24805b3883
commit
a7be605b9d
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ class FlavorParser:
|
|||
self._extruder_offsets = {} # type: Dict[int, List[float]] # Offsets for multi extruders. key is index, value is [x-offset, y-offset]
|
||||
self._current_layer_thickness = 0.2 # default
|
||||
self._filament_diameter = 2.85 # default
|
||||
self._previous_extrusion_value = 0 # keep track of the filament retractions
|
||||
self._previous_extrusion_value = 0.0 # keep track of the filament retractions
|
||||
|
||||
CuraApplication.getInstance().getPreferences().addPreference("gcodereader/show_caution", True)
|
||||
|
||||
|
@ -243,7 +243,7 @@ class FlavorParser:
|
|||
position.e)
|
||||
|
||||
def processGCode(self, G: int, line: str, position: Position, path: List[List[Union[float, int]]]) -> Position:
|
||||
self.previous_extrusion_value = 0
|
||||
self._previous_extrusion_value = 0.0
|
||||
func = getattr(self, "_gCode%s" % G, None)
|
||||
line = line.split(";", 1)[0] # Remove comments (if any)
|
||||
if func is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue