From e7371bd74124996e0a9368eb8e95fd9f6f9dade1 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 29 May 2020 17:02:22 +0200 Subject: [PATCH] Use extruderList rather than deprecated extruders property Done during Turbo Testing and Tooling. --- plugins/GCodeReader/FlavorParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py index 2d0bd7b7c0..a49de266c4 100644 --- a/plugins/GCodeReader/FlavorParser.py +++ b/plugins/GCodeReader/FlavorParser.py @@ -320,7 +320,7 @@ class FlavorParser: if not global_stack: return None - self._filament_diameter = global_stack.extruders[str(self._extruder_number)].getProperty("material_diameter", "value") + self._filament_diameter = global_stack.extruderList[self._extruder_number].getProperty("material_diameter", "value") scene_node = CuraSceneNode()