mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Switch incorrect usage of getMachineExtruders to getActiveExtruderStacks
This commit is contained in:
parent
638f9fb941
commit
a8fc6aabcc
8 changed files with 24 additions and 32 deletions
|
@ -343,7 +343,7 @@ class CuraEngineBackend(QObject, Backend):
|
|||
if not self._global_container_stack:
|
||||
Logger.log("w", "Global container stack not assigned to CuraEngineBackend!")
|
||||
return
|
||||
extruders = list(ExtruderManager.getInstance().getMachineExtruders(self._global_container_stack.getId()))
|
||||
extruders = ExtruderManager.getInstance().getActiveExtruderStacks()
|
||||
error_keys = [] #type: List[str]
|
||||
for extruder in extruders:
|
||||
error_keys.extend(extruder.getErrorKeys())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue