Browse Source

Merge pull request #2857 from fieldOfView/fix_cluster_postprocessing

Allow postprocessing before sending data to the printer
ChrisTerBeke 7 years ago
parent
commit
af2b370921
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py

+ 2 - 0
plugins/UM3NetworkPrinting/NetworkClusterPrinterOutputDevice.py

@@ -252,6 +252,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: