Made a distinction between load and load in background for GCodeViewer and made PartPreviewWindow call background.

This commit is contained in:
larsbrubaker 2014-03-01 08:06:43 -08:00
parent c7ac37a5cb
commit f357f69da8

View file

@ -454,7 +454,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
}
if (partToStartLoadingOnFirstDraw != null)
{
gcodeViewWidget.Load(partToStartLoadingOnFirstDraw);
gcodeViewWidget.LoadInBackground(partToStartLoadingOnFirstDraw);
partToStartLoadingOnFirstDraw = null;
}
base.OnDraw(graphics2D);