From 3ee637736e611d13b5f4bd85ee9023f1d4e44779 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 31 Jan 2019 10:24:06 -0800 Subject: [PATCH] Await async Rebuild call - Issue MatterHackers/MCCentral#4968 Cone thumbnail fails to generate --- MatterControlLib/DesignTools/Primitives/ConeObject3D.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs b/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs index 0058948a1..92a1345c9 100644 --- a/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs @@ -53,7 +53,8 @@ namespace MatterHackers.MatterControl.DesignTools public static async Task Create() { var item = new ConeObject3D(); - item.Rebuild(); + await item.Rebuild(); + return item; }