From 99e1fcd4f8200bff2ca03ed8a15f43ddf6ee9d25 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 15 Jun 2023 22:34:39 +0200 Subject: [PATCH] Pause-at-height: Under rare circumstances, T might not be temperature. Some printers accept commands like TIMELAPSE_TAKE_FRAME or whatever. Should fix #15729 --- plugins/PostProcessingPlugin/scripts/PauseAtHeight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py index f39b0e5db1..d8bc3ee414 100644 --- a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py +++ b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py @@ -339,7 +339,7 @@ class PauseAtHeight(Script): #Track the latest printing temperature in order to resume at the correct temperature. if line.startswith("T"): - current_t = self.getValue(line, "T") + current_t = self.getValue(line, "T", current_t) m = self.getValue(line, "M") if m is not None and (m == 104 or m == 109) and self.getValue(line, "S") is not None: extruder = current_t