mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Replace another extruders() call with extruderList
The extruders function is deprecated. Done during Turbo Testing and Tooling to reduce the number of warnings in our log.
This commit is contained in:
parent
174a8e5411
commit
33c1901070
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ class MachineManager(QObject):
|
|||
@pyqtSlot(str, "QVariant")
|
||||
def setMaterial(self, position: str, container_node, global_stack: Optional["GlobalStack"] = None) -> None:
|
||||
if global_stack is not None and global_stack != self._global_container_stack:
|
||||
global_stack.extruders[position].material = container_node.container
|
||||
global_stack.extruderList[int(position)].material = container_node.container
|
||||
return
|
||||
position = str(position)
|
||||
self.blurSettings.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue