diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index df3bedadf..41a43830f 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -3930,7 +3930,7 @@ Support and tutorials: ReportStartupProgress(0.02, "First draw->RunOnIdle"); //UiThread.RunOnIdle(() => - Task.Run((Func)(async () => + Task.Run(async () => { try { @@ -3952,7 +3952,7 @@ Support and tutorials: } catch (Exception ex) { - UiThread.RunOnIdle((Action)(() => + UiThread.RunOnIdle(() => { statusText.Visible = false; @@ -3988,11 +3988,11 @@ Support and tutorials: progressBar.Visible = false; progressPanel.AddChild(closeButton); - })); + }); } AppContext.IsLoading = false; - })); + }); } ReportStartupProgress(0, "ShowAsSystemWindow"); diff --git a/MatterControlLib/ApplicationView/View3DConfig.cs b/MatterControlLib/ApplicationView/View3DConfig.cs index d15be7012..b8888b498 100644 --- a/MatterControlLib/ApplicationView/View3DConfig.cs +++ b/MatterControlLib/ApplicationView/View3DConfig.cs @@ -159,6 +159,7 @@ namespace MatterHackers.MatterControl } private bool _renderBuildVolume; + public bool RenderBuildVolume { get => _renderBuildVolume;