mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:15:52 +08:00
Remove unused function
Contributes to issue CURA-340.
This commit is contained in:
parent
cb467f488b
commit
7c2c24b8a5
@ -74,15 +74,6 @@ class MachineManagerModel(QObject):
|
|||||||
def _onOutputDevicesChanged(self):
|
def _onOutputDevicesChanged(self):
|
||||||
self.outputDevicesChanged.emit()
|
self.outputDevicesChanged.emit()
|
||||||
|
|
||||||
@pyqtProperty("QVariantMap", notify = globalContainerChanged)
|
|
||||||
def extrudersIds(self):
|
|
||||||
## Find all extruders that reference the new stack
|
|
||||||
extruders = UM.Settings.ContainerRegistry.getInstance().findContainerStacks(**{"machine": self._global_container_stack.getId()})
|
|
||||||
result = {}
|
|
||||||
for extruder in extruders:
|
|
||||||
result[extruder.getMetaDataEntry("position")] = extruder.getId()
|
|
||||||
return result
|
|
||||||
|
|
||||||
def _onGlobalPropertyChanged(self, key, property_name):
|
def _onGlobalPropertyChanged(self, key, property_name):
|
||||||
if property_name == "value":
|
if property_name == "value":
|
||||||
self.globalValueChanged.emit()
|
self.globalValueChanged.emit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user