Removed active printer static
issue: MatterHackers/MCCentral#4562 GCodeStream
This commit is contained in:
parent
0e3225e529
commit
844f97a060
24 changed files with 4119 additions and 83 deletions
|
|
@ -40,14 +40,12 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
private double currentProbeOffset;
|
||||
private bool wroteLevelingStatus = false;
|
||||
private bool gcodeAlreadyLeveled = false;
|
||||
private PrinterConfig printer;
|
||||
|
||||
public PrintLevelingStream(PrinterConfig printer, GCodeStream internalStream, bool activePrinting)
|
||||
: base(internalStream)
|
||||
: base(printer, internalStream)
|
||||
{
|
||||
// always reset this when we construct
|
||||
AllowLeveling = true;
|
||||
this.printer = printer;
|
||||
this.activePrinting = activePrinting;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue