mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -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)]
|
return self._extruder_trains[UM.Application.getInstance().getGlobalContainerStack().getBottom().getId()][str(self._active_extruder_index)]
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return None
|
return None
|
||||||
|
except KeyError:
|
||||||
|
return None
|
||||||
|
|
||||||
## Adds all extruders of a specific machine definition to the extruder
|
## Adds all extruders of a specific machine definition to the extruder
|
||||||
# manager.
|
# manager.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue