refs #865, set on ground flag in interpolator

This commit is contained in:
Klaus Basan
2017-01-22 11:18:33 +01:00
committed by Mathew Sutcliffe
parent 3c7eb6ea28
commit 336fda23c9
3 changed files with 52 additions and 0 deletions

View File

@@ -158,6 +158,13 @@ namespace BlackMisc
oldAlt.getReferenceDatum()));
}
}
IInterpolator::setGroundFlagFromInterpolator(hints, groundFactor, currentSituation);
}
else
{
// guess ground flag
constexpr double NoGroundFactor = -1;
IInterpolator::setGroundFlagFromInterpolator(hints, NoGroundFactor, currentSituation);
}
if (!setup.isForcingFullInterpolation() && !hints.isVtolAircraft() && newVec == oldVec && oldAlt == newAlt)