From 7c2c24b8a5efee0f81933aac2d08c8a643f338a9 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 15 Jun 2016 14:36:48 +0200 Subject: [PATCH] Remove unused function Contributes to issue CURA-340. --- cura/MachineManagerModel.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cura/MachineManagerModel.py b/cura/MachineManagerModel.py index bef949b483..2960d48ed1 100644 --- a/cura/MachineManagerModel.py +++ b/cura/MachineManagerModel.py @@ -74,15 +74,6 @@ class MachineManagerModel(QObject): def _onOutputDevicesChanged(self): 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): if property_name == "value": self.globalValueChanged.emit()