Make sure we turn off print leveling as we are recovering.
This commit is contained in:
parent
98668a9b22
commit
91b6d98e82
2 changed files with 8 additions and 0 deletions
|
|
@ -49,11 +49,15 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
}
|
||||
|
||||
public PrinterMove LastDestination { get { return lastDestination; } }
|
||||
|
||||
public static bool Enabled { get; set; }
|
||||
|
||||
public override string ReadLine()
|
||||
{
|
||||
string lineFromChild = base.ReadLine();
|
||||
|
||||
if (lineFromChild != null
|
||||
&& PrintLevelingStream.Enabled
|
||||
&& PrinterConnectionAndCommunication.Instance.ActivePrinter.GetValue<bool>(SettingsKey.print_leveling_enabled))
|
||||
{
|
||||
if (LineIsMovement(lineFromChild))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue