Use extruderList rather than deprecated extruders property

Done during Turbo Testing and Tooling.
This commit is contained in:
Ghostkeeper 2020-05-29 17:02:22 +02:00
parent 98587a9008
commit e7371bd741
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

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