Always show memory display in debug.

This commit is contained in:
larsbrubaker 2014-03-02 17:01:49 -08:00
parent e3c70b0268
commit 621f91f4e1

View file

@ -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);