mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Fixed issue where not having a machine caused extruder retrieval to fail
CURA-1689
This commit is contained in:
parent
9672b3360c
commit
179b6eeaac
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ class ExtruderManager(QObject):
|
|||
return self._extruder_trains[UM.Application.getInstance().getGlobalContainerStack().getBottom().getId()][str(self._active_extruder_index)]
|
||||
except AttributeError:
|
||||
return None
|
||||
except KeyError:
|
||||
return None
|
||||
|
||||
## Adds all extruders of a specific machine definition to the extruder
|
||||
# manager.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue