mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Hook up instrumentation intro achievement.
This commit is contained in:
parent
7dbb3c592f
commit
b38ac8bfef
@ -673,7 +673,21 @@ bool View::DrawImpl()
|
|||||||
return keepOpen;
|
return keepOpen;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_worker.IsConnected() ) Achieve( "connectToClient" );
|
if( m_achievements )
|
||||||
|
{
|
||||||
|
if( m_worker.IsConnected() ) Achieve( "connectToClient" );
|
||||||
|
|
||||||
|
const auto& threadData = m_worker.GetThreadData();
|
||||||
|
for( auto& td : threadData )
|
||||||
|
{
|
||||||
|
if( !td->timeline.empty() )
|
||||||
|
{
|
||||||
|
Achieve( "instrumentationIntro" );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Attention( m_attnWorking );
|
Attention( m_attnWorking );
|
||||||
|
|
||||||
if( !m_uarchSet )
|
if( !m_uarchSet )
|
||||||
|
Loading…
Reference in New Issue
Block a user