Merge pull request #843 from thopiekar/master-CURA-1775

[CURA-1775] CuraEngineBackend: Keep the last 200 lines of logged messages
This commit is contained in:
Jaime van Kessel 2016-07-18 16:51:18 +02:00 committed by GitHub
commit 48620801d1

View File

@ -89,6 +89,7 @@ class CuraEngineBackend(Backend):
self._always_restart = True #Always restart the engine when starting a new slice. Don't keep the process running. TODO: Fix engine statelessness.
self._process_layers_job = None #The currently active job to process layers, or None if it is not processing layers.
self._backend_log_max_lines = 200 # Maximal count of lines to buffer
self._error_message = None #Pop-up message that shows errors.
self.backendQuit.connect(self._onBackendQuit)