Making canceling during load work much better.
STLs can now stop loading during most of the load operations (only sort verts cannot) Changed the signature on report progress ratio to make it clearer. Made mesh viewer handle better load stoping.
This commit is contained in:
parent
e05ab1e7f0
commit
3af659dc9d
8 changed files with 54 additions and 46 deletions
|
|
@ -254,8 +254,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
}
|
||||
}
|
||||
|
||||
ReportProgress fileLoadReportProgress = null;
|
||||
public void LoadFilesIntoLibrary(string[] files, ReportProgress reportProgress = null)
|
||||
ReportProgressRatio fileLoadReportProgress = null;
|
||||
public void LoadFilesIntoLibrary(string[] files, ReportProgressRatio reportProgress = null)
|
||||
{
|
||||
this.fileLoadReportProgress = reportProgress;
|
||||
if (files != null && files.Length > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue