Made the GetPrintItemWrapperAsync take an optional ReportProgressRatio.

Made it possible to show the wrapper loading progress.
Made the ray trace images more white.
This commit is contained in:
Lars Brubaker 2015-07-14 16:16:58 -07:00
parent f0e59e1a9c
commit d4b471842b
8 changed files with 26 additions and 7 deletions

View file

@ -177,7 +177,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
return Path.GetFileName(currentDirectoryFiles[itemIndex]);
}
public async override Task<PrintItemWrapper> GetPrintItemWrapperAsync(int itemIndex)
public async override Task<PrintItemWrapper> GetPrintItemWrapperAsync(int itemIndex, ReportProgressRatio reportProgress = null)
{
string fileName = currentDirectoryFiles[itemIndex];