mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
[xplane] Add monitoring of the number of track miles lost due to low FPS
This commit is contained in:
@@ -261,6 +261,7 @@ namespace BlackCore
|
||||
this->clearAllRemoteAircraftData(); // reset
|
||||
m_averageFps = -1.0;
|
||||
m_simTimeRatio = 1.0;
|
||||
m_trackMilesShort = 0.0;
|
||||
}
|
||||
|
||||
bool ISimulator::isUpdateAllRemoteAircraft(qint64 currentTimestamp) const
|
||||
@@ -1037,6 +1038,7 @@ namespace BlackCore
|
||||
{
|
||||
m_averageFps = -1.0;
|
||||
m_simTimeRatio = 1.0;
|
||||
m_trackMilesShort = 0.0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user