This commit is contained in:
LarsBrubaker 2019-07-01 18:21:44 -07:00 committed by jlewin
parent a66096823b
commit 0a0df8ca80
2 changed files with 5 additions and 4 deletions

View file

@ -3930,7 +3930,7 @@ Support and tutorials:
ReportStartupProgress(0.02, "First draw->RunOnIdle");
//UiThread.RunOnIdle(() =>
Task.Run((Func<Task>)(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");

View file

@ -159,6 +159,7 @@ namespace MatterHackers.MatterControl
}
private bool _renderBuildVolume;
public bool RenderBuildVolume
{
get => _renderBuildVolume;