Switch to printer rather that PrinterSettings dependency
- MatterHackers/MCCentral#4299 Leveling data ignored by running MatterControl instance
This commit is contained in:
parent
df8db9fe22
commit
544f389946
5 changed files with 20 additions and 20 deletions
|
|
@ -239,8 +239,8 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
|
||||
// this is added to ensure we are rewriting the G0 G1 commands as needed
|
||||
GCodeStream finalStream = addLevelingStream
|
||||
? new ProcessWriteRegexStream(printer.Settings, new PrintLevelingStream(printer.Settings, queueStream, false), queueStream)
|
||||
: new ProcessWriteRegexStream(printer.Settings, queueStream, queueStream);
|
||||
? new ProcessWriteRegexStream(printer, new PrintLevelingStream(printer, queueStream, false), queueStream)
|
||||
: new ProcessWriteRegexStream(printer, queueStream, queueStream);
|
||||
|
||||
// Run each line from the source gcode through the loaded pipeline and dump to the output location
|
||||
using (var file = new StreamWriter(outputPath))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue