Reduce Print/Slice helper method couplings to PrintItemWrapper

This commit is contained in:
John Lewin 2017-11-15 07:41:36 -08:00
parent 8a559f29d4
commit 46188d1eea
12 changed files with 79 additions and 58 deletions

View file

@ -390,8 +390,12 @@ namespace MatterHackers.MatterControl.PrintLibrary
AddToPlate(selectedLibraryItems);
var context = printer.Bed.EditContext;
await ApplicationController.Instance.PrintPart(
printer.Bed.printItem,
context.PartFilePath,
context.GCodeFilePath,
context.SourceItem.Name,
printer,
activeContext.View3DWidget,
null);