mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
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:
parent
a7939c6f3d
commit
c67d2faac3
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue