Changing settings in extruder stack now also triggers reslice

CURA-1689
This commit is contained in:
Jaime van Kessel 2016-06-10 12:26:11 +02:00
parent 02d2acd317
commit 9672b3360c
2 changed files with 24 additions and 0 deletions

View file

@ -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.
#