reuse existing function
This commit is contained in:
parent
5ba08b27ac
commit
5533fd02a2
2 changed files with 2 additions and 2 deletions
|
|
@ -446,7 +446,7 @@ namespace MatterControl.Printing
|
|||
{
|
||||
// don't turn of extruders if we will end the print within 10 minutes
|
||||
if (instructionIndex < gCodeCommandQueue.Count
|
||||
&& gCodeCommandQueue[0].SecondsToEndFromHere < PrintTimeToLeaveHeatersOn)
|
||||
&& this.TotalSecondsInPrint < PrintTimeToLeaveHeatersOn)
|
||||
{
|
||||
return (toolToLookFor, gCodeCommandQueue[instructionIndex].SecondsToEndFromHere);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue