Collapse export into existing method, resolve outstanding issues

This commit is contained in:
John Lewin 2018-02-12 14:52:47 -08:00
parent f8d9070c61
commit 54032fac73
3 changed files with 87 additions and 56 deletions

View file

@ -69,6 +69,11 @@ namespace MatterHackers.MatterControl
{
// TODO: Wire up caching
loadedItem = Object3D.Load(contentStream.Stream, Path.GetExtension(streamInterface.FileName), CancellationToken.None, null /*itemCache*/, progressReporter);
if (item is FileSystemFileItem fileItem)
{
loadedItem.MeshPath = fileItem.Path;
}
}
}
}