mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08: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
@ -83,7 +83,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin):
|
||||
if container_stack.getMetaDataEntry("supports_usb_connection"):
|
||||
machine_file_formats = [file_type.strip() for file_type in container_stack.getMetaDataEntry("file_formats").split(";")]
|
||||
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)
|
||||
time.sleep(5)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user