Use Stl rather than Object3D loader

This commit is contained in:
John Lewin 2018-07-31 10:32:25 -07:00
parent d06ce06e0b
commit cbcecd4fd5
2 changed files with 5 additions and 4 deletions

View file

@ -37,6 +37,7 @@ namespace MatterHackers.MatterControl
using MatterHackers.Agg.Platform;
using MatterHackers.DataConverters3D;
using MatterHackers.PolygonMesh;
using MatterHackers.PolygonMesh.Processors;
using MatterHackers.RenderOpenGl;
using MatterHackers.VectorMath;
@ -55,7 +56,7 @@ namespace MatterHackers.MatterControl
using (var logoStream = AggContext.StaticData.OpenStream(Path.Combine("Stls", "MH Logo.stl")))
{
logoMesh = MeshFileIo.Load(logoStream, ".stl", CancellationToken.None).Mesh;
logoMesh = StlProcessing.Load(logoStream, CancellationToken.None);
}
// Position