mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Pause-at-height: Under rare circumstances, T might not be temperature.
Some printers accept commands like TIMELAPSE_TAKE_FRAME or whatever. Should fix #15729
This commit is contained in:
parent
94686d64a6
commit
99e1fcd4f8
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class PauseAtHeight(Script):
|
||||||
|
|
||||||
#Track the latest printing temperature in order to resume at the correct temperature.
|
#Track the latest printing temperature in order to resume at the correct temperature.
|
||||||
if line.startswith("T"):
|
if line.startswith("T"):
|
||||||
current_t = self.getValue(line, "T")
|
current_t = self.getValue(line, "T", current_t)
|
||||||
m = self.getValue(line, "M")
|
m = self.getValue(line, "M")
|
||||||
if m is not None and (m == 104 or m == 109) and self.getValue(line, "S") is not None:
|
if m is not None and (m == 104 or m == 109) and self.getValue(line, "S") is not None:
|
||||||
extruder = current_t
|
extruder = current_t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue