mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-08 14:59:00 +08:00
Fixed issue where not having a machine caused extruder retrieval to fail
CURA-1689
This commit is contained in:
parent
9672b3360c
commit
179b6eeaac
@ -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…
x
Reference in New Issue
Block a user