CuraEngineBackend: Keep the last 200 lines of logged messages

Don't know how much lines we will need exactly, but I think 200 are
enough for the moment.

Contributes to CURA-1775
This commit is contained in:
Thomas Karl Pietrowski 2016-07-03 14:39:16 +02:00
parent a7939c6f3d
commit c67d2faac3

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)