Making STL and MeshFileIo take a cancelation token

This commit is contained in:
Lars Brubaker 2018-01-31 09:50:23 -08:00
parent d19ada973e
commit cefd99b361
5 changed files with 33 additions and 23 deletions

View file

@ -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();