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:
Ghostkeeper 2016-01-29 20:57:16 +01:00
parent 6271b4039b
commit a45e55ab4c

View file

@ -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"))