From b2bbd95430deebbe46dccfe9a7b04571288ea077 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 17 Jun 2019 01:05:46 +0200 Subject: [PATCH] Changing log time requires bin cache reset. --- server/TracyView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 674fb341..5f317926 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6243,7 +6243,10 @@ void View::DrawFindZone() { ImGui::Checkbox( "Log values", &m_findZone.logVal ); ImGui::SameLine(); - ImGui::Checkbox( "Log time", &m_findZone.logTime ); + if( ImGui::Checkbox( "Log time", &m_findZone.logTime ) ) + { + m_findZone.binCache.numBins = -1; + } ImGui::SameLine(); ImGui::Checkbox( "Cumulate time", &m_findZone.cumulateTime ); ImGui::SameLine();