From 5a214af8448b8be0da91db71a6efc887c72ece9a Mon Sep 17 00:00:00 2001 From: jlewin Date: Fri, 1 Mar 2019 14:45:51 -0800 Subject: [PATCH] Purge icon cache in debug ReloadAll --- MatterControlLib/ApplicationView/ApplicationController.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index a7714428b..4d4713761 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -1833,6 +1833,10 @@ namespace MatterHackers.MatterControl { try { +#if DEBUG + AggContext.StaticData.PurgeCache(); +#endif + this.IsReloading = true; var reloadingOverlay = new GuiWidget