mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-21 09:01:52 -06:00
Fixed wifi missing some lines. CURA-3664
This commit is contained in:
parent
b5c6ca0973
commit
f04981b08c
1 changed files with 1 additions and 1 deletions
|
@ -809,10 +809,10 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
return # Stop trying to zip, abort was called.
|
||||
|
||||
if self._use_gzip:
|
||||
batched_line += line
|
||||
# if the gcode was read from a gcode file, self._gcode will be a list of all lines in that file.
|
||||
# Compressing line by line in this case is extremely slow, so we need to batch them.
|
||||
if len(batched_line) < max_chars_per_line:
|
||||
batched_line += line
|
||||
continue
|
||||
|
||||
byte_array_file_data += _compress_data_and_notify_qt(batched_line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue