mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Revert making the camera image black while it doesn't react
This was giving segfaults sometimes on my computer. I suspect it's because the camera image could have been written to by both this Python code and by the camera itself, giving it a sort of data race or maybe that the image was discarded by the camera while it's being written to by Python. In any case, this should make it more stable. Contributes to issue CURA-4376.
This commit is contained in:
parent
85efd9249c
commit
d8c1546be3
1 changed files with 0 additions and 4 deletions
|
@ -340,10 +340,6 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
pass # It can happen that the wrapped c++ object is already deleted.
|
||||
self._image_reply = None
|
||||
self._image_request = None
|
||||
if self._use_stream:
|
||||
# Reset image (To prevent old images from being displayed)
|
||||
self._camera_image.fill(QColor(0, 0, 0))
|
||||
self.newImage.emit()
|
||||
|
||||
def _startCamera(self):
|
||||
if self._use_stream:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue