Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <ghost_keeper+github@hotmail.com>2016-03-10 12:46:18 +0300
committerGhostkeeper <ghost_keeper+github@hotmail.com>2016-03-10 12:46:54 +0300
commit3690eafb721bd722ecb462d6afc6bda748c04fe4 (patch)
tree77654d938fd19d6c49254cf72cdc5aef1784f4dd /plugins/USBPrinting/PrinterConnection.py
parente8c99f6b9f21ba90c6d72a0a08641c9e1348aeab (diff)
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.
Diffstat (limited to 'plugins/USBPrinting/PrinterConnection.py')
-rw-r--r--plugins/USBPrinting/PrinterConnection.py2
1 files changed, 1 insertions, 1 deletions
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):