Making STL and MeshFileIo take a cancelation token
This commit is contained in:
parent
d19ada973e
commit
cefd99b361
5 changed files with 33 additions and 23 deletions
|
|
@ -295,6 +295,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
MeshFileIo.Save(
|
||||
new List<MeshGroup> { loadedItem.Flatten() },
|
||||
printItem.FileLocation,
|
||||
CancellationToken.None,
|
||||
new MeshOutputSettings(MeshOutputSettings.OutputType.Binary, metaData));
|
||||
|
||||
printItem.Commit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue