mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Reactivate _always_restart
This was deactivated during debugging as a test. Shouldn't have been committed. Contributes to issue CURA-427.
This commit is contained in:
parent
6271b4039b
commit
a45e55ab4c
1 changed files with 6 additions and 6 deletions
|
@ -213,12 +213,12 @@ class CuraEngineBackend(Backend):
|
||||||
self._message.hide()
|
self._message.hide()
|
||||||
self._message = None
|
self._message = None
|
||||||
|
|
||||||
#if self._always_restart:
|
if self._always_restart:
|
||||||
#try:
|
try:
|
||||||
#self._process.terminate()
|
self._process.terminate()
|
||||||
#self._createSocket()
|
self._createSocket()
|
||||||
#except: # terminating a process that is already terminating causes an exception, silently ignore this.
|
except: # terminating a process that is already terminating causes an exception, silently ignore this.
|
||||||
#pass
|
pass
|
||||||
|
|
||||||
def _onGCodeLayerMessage(self, message):
|
def _onGCodeLayerMessage(self, message):
|
||||||
self._scene.gcode_list.append(message.data.decode("utf-8", "replace"))
|
self._scene.gcode_list.append(message.data.decode("utf-8", "replace"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue