Minor interpolator improvements, display 2nd invalid version instead of first

This commit is contained in:
Klaus Basan
2019-05-09 01:05:05 +02:00
parent 15d88b37e5
commit da2b3e05fd
3 changed files with 7 additions and 12 deletions

View File

@@ -1914,6 +1914,7 @@ namespace BlackSimPlugin
const bool sendGround = setup.isSendingGndFlagToSimulator();
// Interpolated situation
// simObjectNumber is passed to equally distributed steps like guessing parts
const CInterpolationResult result = simObject.getInterpolation(currentTimestamp, setup, simObjectNumber++);
if (result.getInterpolationStatus().hasValidSituation())
{
@@ -1936,13 +1937,6 @@ namespace BlackSimPlugin
{
// already logged in interpolator
continue;
/** KB removed 2018-11 as already logged in interpolator
static const QString so("SimObject id: %1");
const QString msg = this->getInvalidSituationLogMessage(callsign, result.getInterpolationStatus(), so.arg(objectId));
const CStatusMessage sm(this, CStatusMessage::SeverityWarning, msg);
this->clampedLog(callsign, sm);
**/
}
// Interpolated parts