Browse Source

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
fieldOfView 7 years ago
parent
commit
bc9d31ccbc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py

+ 2 - 0
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: