mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Change Only_List_USB
Apply Sovengers so more Macusers can print over USB as mentioned in https://community.ultimaker.com/topic/42417-fix-for-connecting-creality-ender-3-neo-to-mac-via-usb/
This commit is contained in:
parent
5c65ba5058
commit
6def3dcb5e
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin):
|
||||||
if container_stack.getMetaDataEntry("supports_usb_connection"):
|
if container_stack.getMetaDataEntry("supports_usb_connection"):
|
||||||
machine_file_formats = [file_type.strip() for file_type in container_stack.getMetaDataEntry("file_formats").split(";")]
|
machine_file_formats = [file_type.strip() for file_type in container_stack.getMetaDataEntry("file_formats").split(";")]
|
||||||
if "text/x-gcode" in machine_file_formats:
|
if "text/x-gcode" in machine_file_formats:
|
||||||
port_list = self.getSerialPortList(only_list_usb=True)
|
port_list = self.getSerialPortList(only_list_usb=False)
|
||||||
self._addRemovePorts(port_list)
|
self._addRemovePorts(port_list)
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue