Setting to allow gcode analysis to continue during printing

This commit is contained in:
Bryan Mayland committed 2019-11-12 13:49:54 +00:00
1 parent 8fefa63c8c
commit 4a324b4f5e
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -1099,7 +1099,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
self._analysisQueue.resume() # printing done, put those cpu cycles to good use
elif state == comm.MachineCom.STATE_PRINTING:
self._analysisQueue.pause() # do not analyse files while printing
if settings().getBoolean(["gcodeAnalysis", "pauseDuringPrint"]):
self._analysisQueue.pause() # do not analyse files while printing
if state == comm.MachineCom.STATE_CLOSED or state == comm.MachineCom.STATE_CLOSED_WITH_ERROR:
if self._comm is not None:
+2 -1
View File
@@ -258,7 +258,8 @@ default_settings = {
"maxExtruders": 10,
"throttle_normalprio": 0.01,
"throttle_highprio": 0.0,
"throttle_lines": 100
"throttle_lines": 100,
"pauseDuringPrint": True
},
"feature": {
"temperatureGraph": True,