From bc9d31ccbc9d4522927fa97bead9f1224e5bd72c Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Sun, 26 Nov 2017 21:44:09 +0100 Subject: [PATCH] Allow postprocessing before sending data to the printer Fixes https://github.com/Ultimaker/Cura/issues/2855 Also see https://github.com/Ultimaker/Cura/commit/91e8ac6868762595a73363230234d223c1270753 --- plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py b/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py index b6e94121f8..de1aab434d 100644 --- a/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py +++ b/plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py @@ -263,6 +263,8 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte self._error_message.show() return + self.writeStarted.emit(self) # Allow postprocessing before sending data to the printer + if len(self._printers) > 1: self.spawnPrintView() # Ask user how to print it. elif len(self._printers) == 1: