mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Zone can begin right after another one.
This happens when the timer has not enough precision.
This commit is contained in:
parent
61b7496cef
commit
d427e937d3
@ -389,7 +389,7 @@ void View::InsertZone( Event* zone, Event* parent, Vector<Event*>& vec )
|
|||||||
if( !vec.empty() )
|
if( !vec.empty() )
|
||||||
{
|
{
|
||||||
const auto lastend = vec.back()->end;
|
const auto lastend = vec.back()->end;
|
||||||
if( lastend != -1 && lastend < zone->start )
|
if( lastend != -1 && lastend <= zone->start )
|
||||||
{
|
{
|
||||||
zone->parent = parent;
|
zone->parent = parent;
|
||||||
vec.push_back( zone );
|
vec.push_back( zone );
|
||||||
|
Loading…
Reference in New Issue
Block a user