mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Renames to from activeStack to global stack
CURA-1278
This commit is contained in:
parent
dbd2c911ce
commit
04f1e8d27c
2 changed files with 6 additions and 9 deletions
|
|
@ -101,7 +101,7 @@ class CuraApplication(QtApplication):
|
|||
self._camera_animation = None
|
||||
self._cura_actions = None
|
||||
|
||||
#self.getMachineManager().activeMachineInstanceChanged.connect(self._onActiveMachineChanged)
|
||||
#self.getMachineManager().activeMachineInstanceChanged.connect(self._onGlobalContainerStackChanged)
|
||||
#self.getMachineManager().addMachineRequested.connect(self._onAddMachineRequested)
|
||||
self.getController().getScene().sceneChanged.connect(self.updatePlatformActivity)
|
||||
self.getController().toolOperationStopped.connect(self._onToolOperationStopped)
|
||||
|
|
@ -508,10 +508,9 @@ class CuraApplication(QtApplication):
|
|||
|
||||
@pyqtSlot(str, result = "QVariant")
|
||||
def getSettingValue(self, key):
|
||||
if not self.getMachineManager().getWorkingProfile():
|
||||
if not self._global_container_stack:
|
||||
return None
|
||||
return self.getMachineManager().getWorkingProfile().getSettingValue(key)
|
||||
#return self.getActiveMachine().getSettingValueByKey(key)
|
||||
return self._global_container_stack.getValue(key)
|
||||
|
||||
## Change setting by key value pair
|
||||
@pyqtSlot(str, "QVariant")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue