From d66e9493ca2a3c78bf05e00bb43066ed49c96069 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 20 Dec 2017 15:54:05 +0100 Subject: [PATCH] When not looking at camera, it will now actually be disabled CL-541 --- plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py index eb9f0469fa..ad085d16ec 100644 --- a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py +++ b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py @@ -133,6 +133,8 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice): @pyqtSlot(QObject) def setActivePrinter(self, printer): if self._active_printer != printer: + if self._active_printer and self._active_printer.camera: + self._active_printer.camera.stop() self._active_printer = printer self.activePrinterChanged.emit()