From f357f69da8b4c64e79abe0709b56978cf1d53e69 Mon Sep 17 00:00:00 2001 From: larsbrubaker Date: Sat, 1 Mar 2014 08:06:43 -0800 Subject: [PATCH] Made a distinction between load and load in background for GCodeViewer and made PartPreviewWindow call background. --- PartPreviewWindow/GcodeViewBasic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PartPreviewWindow/GcodeViewBasic.cs b/PartPreviewWindow/GcodeViewBasic.cs index 895aae343..52ce0dc97 100644 --- a/PartPreviewWindow/GcodeViewBasic.cs +++ b/PartPreviewWindow/GcodeViewBasic.cs @@ -454,7 +454,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow } if (partToStartLoadingOnFirstDraw != null) { - gcodeViewWidget.Load(partToStartLoadingOnFirstDraw); + gcodeViewWidget.LoadInBackground(partToStartLoadingOnFirstDraw); partToStartLoadingOnFirstDraw = null; } base.OnDraw(graphics2D);