From b0b1ae4eb041944f9fd50b7dcda7bfa4a6d23bfc Mon Sep 17 00:00:00 2001 From: daid Date: Wed, 20 Nov 2013 10:10:51 +0100 Subject: [PATCH] Refuse to USB print with UltiGCode flavor. --- Cura/gui/sceneView.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index c757bf62..de879b94 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -250,6 +250,9 @@ class SceneView(openglGui.glGuiPanel): def showPrintWindow(self): if self._gcodeFilename is None: return + if profile.getMachineSetting('gcode_flavor') == 'UltiGCode': + wx.MessageBox(_("USB printing on the Ultimaker2 is not supported."), _("USB Printing Error"), wx.OK | wx.ICON_WARNING) + return self._usbPrintMonitor.loadFile(self._gcodeFilename, self._slicer.getID()) if self._gcodeFilename == self._slicer.getGCodeFilename(): self._slicer.submitSliceInfoOnline() -- 2.30.2