Add new LoadGCode function to model

This commit is contained in:
John Lewin 2017-06-30 21:37:58 -07:00
parent e441f25c63
commit 6afbbe4cd8
2 changed files with 26 additions and 1 deletions

View file

@ -118,6 +118,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
await SlicingQueue.SliceFileAsync(printItem, sliceProgressReporter);
ApplicationController.Instance.Printer.BedPlate.LoadGCode(printItem.GetGCodePathAndFileName(), printerTabPage.gcodeViewer.LoadProgress_Changed);
sliceProgressReporter.EndReporting();
printerTabPage.SwitchToLayerView();