From a3173965d6c360b11cb46ce31b9a872f7e966a3f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 9 Jun 2019 17:51:37 +0200 Subject: [PATCH] Same for Vis() reference. --- server/TracyView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 4506c9de..295728ca 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2063,6 +2063,7 @@ void View::DrawZones() if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend && crash.thread != v->id ) { + auto& vis = Vis( v ); vis.height = 0; vis.offset = 0; offset = oldOffset; @@ -2269,7 +2270,7 @@ void View::DrawZones() } } - AdjustThreadHeight( vis, oldOffset, offset ); + AdjustThreadHeight( Vis( v ), oldOffset, offset ); ImGui::PopClipRect(); } m_lockHighlight = nextLockHighlight;