diff --git a/ApplicationView/ApplicationController.cs b/ApplicationView/ApplicationController.cs index d7667ea07..3a2bc47a2 100644 --- a/ApplicationView/ApplicationController.cs +++ b/ApplicationView/ApplicationController.cs @@ -69,6 +69,7 @@ namespace MatterHackers.MatterControl using MatterHackers.MatterControl.PrinterControls.PrinterConnections; using MatterHackers.MatterControl.SetupWizard; using MatterHackers.PolygonMesh; + using MatterHackers.PolygonMesh.Processors; using MatterHackers.RenderOpenGl; using MatterHackers.SerialPortCommunication; using MatterHackers.VectorMath; @@ -760,6 +761,11 @@ namespace MatterHackers.MatterControl Object3D.AssetsPath = Path.Combine(ApplicationDataStorage.Instance.ApplicationLibraryDataPath, "Assets"); + using (var meshSteam = AggContext.StaticData.OpenStream(Path.Combine("Stls", "missing.stl"))) + { + Object3D.FileMissingMesh = StlProcessing.Load(meshSteam, CancellationToken.None); + } + ScrollBar.DefaultMargin = new BorderDouble(right: 1); ScrollBar.ScrollBarWidth = 8 * GuiWidget.DeviceScale; ScrollBar.GrowThumbBy = 2; diff --git a/StaticData/Stls/missing.stl b/StaticData/Stls/missing.stl new file mode 100644 index 000000000..526d71ceb Binary files /dev/null and b/StaticData/Stls/missing.stl differ diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 2edd3b61b..8949b3338 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 2edd3b61b87d29d1f70e9e0a36c5e25adf266726 +Subproject commit 8949b3338df5c93e674952a050443329784e782b