mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Prevent 0 ns timeline view range.
This commit is contained in:
parent
ccd20af7a1
commit
95af214abe
@ -14221,6 +14221,10 @@ void View::SetViewToLastFrames()
|
||||
{
|
||||
m_vd.zvEnd = m_worker.GetFrameBegin( *m_frames, total - 1 );
|
||||
}
|
||||
if( m_vd.zvEnd == m_vd.zvStart )
|
||||
{
|
||||
m_vd.zvEnd = m_worker.GetLastTime();
|
||||
}
|
||||
}
|
||||
|
||||
int64_t View::GetZoneChildTime( const ZoneEvent& zone )
|
||||
|
Loading…
Reference in New Issue
Block a user