mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #865, set on ground flag in interpolator
This commit is contained in:
committed by
Mathew Sutcliffe
parent
3c7eb6ea28
commit
336fda23c9
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user