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:
authorGhostkeeper <rubend@tutanota.com>2020-05-29 18:02:22 +0300
committerGhostkeeper <rubend@tutanota.com>2020-05-29 18:02:22 +0300
commite7371bd74124996e0a9368eb8e95fd9f6f9dade1 (patch)
tree57d34b2e36e104b4fc6c7d77ef6f3ef4f373cacc /plugins/GCodeReader
parent98587a90080cf7d8f173f6849c897792293b36d0 (diff)
Use extruderList rather than deprecated extruders property
Done during Turbo Testing and Tooling.
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 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()