mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-25 09:34:28 +08:00
Fixed some merge issues
This commit is contained in:
parent
6f179106b5
commit
e7d04f7dc0
@ -131,7 +131,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
self._image_request = None
|
||||
self._image_reply = None
|
||||
|
||||
self._use_stream = True
|
||||
self._use_stream = False
|
||||
self._stream_buffer = b""
|
||||
self._stream_buffer_start_index = -1
|
||||
|
||||
@ -491,11 +491,11 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
self._update_timer.stop()
|
||||
self._camera_timer.stop()
|
||||
|
||||
if self._image_reply:
|
||||
if self._image_reply:
|
||||
self._image_reply.abort()
|
||||
self._image_reply.downloadProgress.disconnect(self._onStreamDownloadProgress)
|
||||
self._image_reply = None
|
||||
self._image_request = None
|
||||
self._image_request = None
|
||||
|
||||
## Request the current scene to be sent to a network-connected printer.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user