mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix displaying time estimation with Griffin header
Otherwise it can't find the time and then doesn't output any time remaining commands. Contributes to issue CURA-7787.
This commit is contained in:
parent
9471ad1c32
commit
3353817e1c
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class DisplayProgressOnLCD(Script):
|
|||
lines = layer.split("\n")
|
||||
|
||||
for line in lines:
|
||||
if line.startswith(";TIME:") and total_time == -1:
|
||||
if (line.startswith(";TIME:") or line.startswith(";PRINT.TIME:")) and total_time == -1:
|
||||
# This line represents the total time required to print the gcode
|
||||
total_time = self.getTimeValue(line)
|
||||
line_index = lines.index(line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue