mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 10:13:16 +08:00
Fix problem with very slow gcode sending
CURA-4850
This commit is contained in:
parent
4c474c9619
commit
172b4e57a4
@ -100,7 +100,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
|
||||
if batched_lines_count >= max_chars_per_line:
|
||||
file_data_bytes_list.append(self._compressDataAndNotifyQt("".join(batched_lines)))
|
||||
batched_lines = []
|
||||
batched_lines_count
|
||||
batched_lines_count = 0
|
||||
|
||||
# Don't miss the last batch (If any)
|
||||
if len(batched_lines) != 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user