From 621f91f4e15a79f54e57d101b616ae9186997e72 Mon Sep 17 00:00:00 2001 From: larsbrubaker Date: Sun, 2 Mar 2014 17:01:49 -0800 Subject: [PATCH] Always show memory display in debug. --- MatterControlApplication.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MatterControlApplication.cs b/MatterControlApplication.cs index 20ec90929..1a51df5cb 100644 --- a/MatterControlApplication.cs +++ b/MatterControlApplication.cs @@ -278,7 +278,9 @@ namespace MatterHackers.MatterControl base.OnDraw(graphics2D); totalDrawTime.Stop(); +#if !DEBUG if (ShowMemoryUsed) +#endif { long memory = GC.GetTotalMemory(false); this.Title = string.Format("Allocated = {0:n0} : {1}ms, d{2} Size = {3}x{4}", memory, totalDrawTime.ElapsedMilliseconds, drawCount++, this.Width, this.Height);