Improving end of print behavior

This commit is contained in:
LarsBrubaker 2020-10-25 08:48:43 -07:00
parent 1a6e1b41b1
commit 0fbf9e8ccd
6 changed files with 282 additions and 149 deletions

View file

@ -2405,7 +2405,12 @@ Make sure that your printer is turned on. Some printers will appear to be connec
if (!LevelingValidation.NeedsToBeRun(Printer))
{
accumulatedStream = printLevelingStream = new PrintLevelingStream(Printer, accumulatedStream);
printLevelingStream = new PrintLevelingStream(Printer, accumulatedStream);
if (Printer.Settings.Helpers.UseZProbe()
&& Printer.Settings.GetValue(SettingsKey.start_gcode).Contains(ValidatePrintLevelingStream.BeginString))
{
accumulatedStream = new ValidatePrintLevelingStream(Printer, printLevelingStream);
}
}
accumulatedStream = waitForTempStream = new WaitForTempStream(Printer, accumulatedStream);