[FSD] Avoid that all matchings are triggered "at the same time"

* the signal from CAirspaceMonitor is connected internally
* this signal is closely related to receive the FSD ICAO data
* and then it is emitted from the context again but staggered
This commit is contained in:
Klaus Basan
2019-11-13 02:19:35 +01:00
committed by Mat Sutcliffe
parent 0fd1e34d03
commit 59c6a7ad93
3 changed files with 48 additions and 16 deletions

View File

@@ -711,6 +711,8 @@ namespace BlackCore
emit this->aircraftRenderingChanged(brokenAircraft);
return;
}
// here the model is added to the simulator
m_simulatorPlugin.second->logicallyAddRemoteAircraft(aircraftAfterModelApplied);
CLogUtilities::addLogDetailsToList(pMatchingMessages, callsign, QStringLiteral("Logically added remote aircraft: %1").arg(aircraftAfterModelApplied.toQString()));