From d427e937d36cf16305542a38ad407d344ae93133 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Sep 2017 23:52:08 +0200 Subject: [PATCH] Zone can begin right after another one. This happens when the timer has not enough precision. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 25d7a580..b499e7a8 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -389,7 +389,7 @@ void View::InsertZone( Event* zone, Event* parent, Vector& vec ) if( !vec.empty() ) { const auto lastend = vec.back()->end; - if( lastend != -1 && lastend < zone->start ) + if( lastend != -1 && lastend <= zone->start ) { zone->parent = parent; vec.push_back( zone );