From 3afe510736da8c0877d5af48711c7c0bd450521b Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Tue, 7 Nov 2017 01:32:52 +0100 Subject: [PATCH] Ref T180, allow to log invalid interpolated data --- .../simulator/fsxcommon/simulatorfsxcommon.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp b/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp index 886b0a192..987dc54df 100644 --- a/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp +++ b/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp @@ -1116,7 +1116,16 @@ namespace BlackSimPlugin { CLogMessage(this).warning("Failed so set position on SimObject '%1' callsign: '%2'") << simObject.getObjectId() << callsign; } - } // interpolation data + } + else + { + if (!interpolatorStatus.validInterpolatedSituation()) + { +// CLogMessage(this).warning("Invalid interpolation for SimObject '%1' callsign: '%2' info: '%3'") +// << simObject.getObjectId() << callsign +// << interpolatorStatus.toQString(); + } + } if (useAircraftParts) {