Kick off texture creation in constructor
- Issue MatterHackers/MCCentral#5354 Long delay before bed texture appears
This commit is contained in:
parent
b0eb5b540f
commit
2e806892a7
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue