mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
[xplane] Added display of simulation time ratio in simulator component
This commit is contained in:
@@ -260,6 +260,7 @@ namespace BlackCore
|
||||
{
|
||||
this->clearAllRemoteAircraftData(); // reset
|
||||
m_averageFps = -1.0;
|
||||
m_simTimeRatio = 1.0;
|
||||
}
|
||||
|
||||
bool ISimulator::isUpdateAllRemoteAircraft(qint64 currentTimestamp) const
|
||||
@@ -1034,6 +1035,7 @@ namespace BlackCore
|
||||
bool ISimulator::disconnectFrom()
|
||||
{
|
||||
m_averageFps = -1.0;
|
||||
m_simTimeRatio = 1.0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user