Kick off texture creation in constructor

- Issue MatterHackers/MCCentral#5354
Long delay before bed texture appears
This commit is contained in:
jlewin 2019-04-17 13:24:12 -07:00
parent b0eb5b540f
commit 2e806892a7

View file

@ -30,6 +30,7 @@ either expressed or implied, of the FreeBSD Project.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg;
using MatterHackers.Agg.Font;
@ -67,6 +68,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.editorType = editorType;
this.theme = theme;
this.printer = sceneContext.Printer;
this.EnsureBedTexture(selectedItem: null);
// Register listeners
if (printer != null)