From a0b5ac33cc9188ca4b3516895d5f14f43a1ca317 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 23 Feb 2019 01:34:45 +0100 Subject: [PATCH] Always show label of a crashed thread. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3228705a..db79adea 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1922,7 +1922,7 @@ void View::DrawZones() auto msgit = std::lower_bound( v->messages.begin(), v->messages.end(), m_zvStart, [] ( const auto& lhs, const auto& rhs ) { return lhs->time < rhs; } ); auto msgend = std::lower_bound( msgit, v->messages.end(), m_zvEnd, [] ( const auto& lhs, const auto& rhs ) { return lhs->time < rhs; } ); - if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend ) + if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend && crash.thread != v->id ) { vis.height = 0; vis.offset = 0;