Ref T180, interpolator status can check validity of situation and provide an info string

This commit is contained in:
Klaus Basan
2017-11-06 22:07:58 +01:00
parent 40dcd9c167
commit 46a7b67ae5
5 changed files with 65 additions and 11 deletions

View File

@@ -1100,7 +1100,7 @@ namespace BlackSimPlugin
hints.setLoggingInterpolation(logInterpolationAndParts);
const CAircraftSituation interpolatedSituation = simObject.getInterpolatedSituation(currentTimestamp, setup, hints, interpolatorStatus);
if (interpolatorStatus.allTrue())
if (interpolatorStatus.validAndChangedInterpolatedSituation())
{
// update situation
SIMCONNECT_DATA_INITPOSITION position = this->aircraftSituationToFsxPosition(interpolatedSituation);