From 3690eafb721bd722ecb462d6afc6bda748c04fe4 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 10 Mar 2016 10:46:18 +0100 Subject: [PATCH] Add filter_by_machine parameter to USBPrinting This was an oversight. When the filter_by_machine feature was added, we didn't think of the USB printing output device. The feature has no meaning here, since USB printing only supports g-code. Just ignore it. --- plugins/USBPrinting/PrinterConnection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/USBPrinting/PrinterConnection.py b/plugins/USBPrinting/PrinterConnection.py index c19603c945..ffcd6d0d75 100644 --- a/plugins/USBPrinting/PrinterConnection.py +++ b/plugins/USBPrinting/PrinterConnection.py @@ -467,7 +467,7 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): self._bed_temperature = temperature self.bedTemperatureChanged.emit() - def requestWrite(self, node, file_name = None): + def requestWrite(self, node, file_name = None, filter_by_machine = False): self.showControlInterface() def _setEndstopState(self, endstop_key, value):