remove active printer from PrintItemWrapper

issue: MatterHackers/MCCentral#4574
This commit is contained in:
Lars Brubaker 2018-11-14 14:28:29 -08:00
parent f93d05b630
commit 0eb7b1cb3c
9 changed files with 61 additions and 41 deletions

View file

@ -2035,7 +2035,7 @@ namespace MatterHackers.MatterControl
public async Task PrintPart(EditContext editContext, PrinterConfig printer, IProgress<ProgressStatus> reporter, CancellationToken cancellationToken, bool overrideAllowGCode = false)
{
var partFilePath = editContext.SourceFilePath;
var gcodeFilePath = editContext.GCodeFilePath;
var gcodeFilePath = editContext.GCodeFilePath(printer);
var printItemName = editContext.SourceItem.Name;
// Exit if called in a non-applicable state