mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Changing settings in extruder stack now also triggers reslice
CURA-1689
This commit is contained in:
parent
02d2acd317
commit
9672b3360c
2 changed files with 24 additions and 0 deletions
|
@ -66,6 +66,12 @@ class ExtruderManager(QObject):
|
|||
self._active_extruder_index = index
|
||||
self.activeExtruderChanged.emit()
|
||||
|
||||
def getActiveExtruderStack(self):
|
||||
try:
|
||||
return self._extruder_trains[UM.Application.getInstance().getGlobalContainerStack().getBottom().getId()][str(self._active_extruder_index)]
|
||||
except AttributeError:
|
||||
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