From d99a7639e8f7e58496fb06b5116a3dd76439c5dc Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 20 Jun 2018 00:50:51 +0200 Subject: [PATCH] Ref T275, fixed CInterpolationAndRenderingSetupPerCallsign::isEqualToGlobal --- src/blackmisc/simulation/interpolationrenderingsetup.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/blackmisc/simulation/interpolationrenderingsetup.cpp b/src/blackmisc/simulation/interpolationrenderingsetup.cpp index 2f54bfb17..6598612b4 100644 --- a/src/blackmisc/simulation/interpolationrenderingsetup.cpp +++ b/src/blackmisc/simulation/interpolationrenderingsetup.cpp @@ -319,13 +319,15 @@ namespace BlackMisc if (this->isForcingVtolInterpolation() != globalSetup.isForcingVtolInterpolation()) { diff.push_back(IndexForceVtolInterpolation); } if (this->isAircraftPartsEnabled() != globalSetup.isAircraftPartsEnabled()) { diff.push_back(IndexEnabledAircraftParts); } if (this->isSendingGndFlagToSimulator() != globalSetup.isSendingGndFlagToSimulator()) { diff.push_back(IndexSendGndFlagToSimulator); } - if (this->isFixingSceneryOffset() != globalSetup.isForcingVtolInterpolation()) { diff.push_back(IndexFixSceneryOffset); } + if (this->isFixingSceneryOffset() != globalSetup.isFixingSceneryOffset()) { diff.push_back(IndexFixSceneryOffset); } return diff; } bool CInterpolationAndRenderingSetupPerCallsign::isEqualToGlobal(const CInterpolationAndRenderingSetupGlobal &globalSetup) const { - return this->unequalToGlobal(globalSetup).isEmpty(); + const CPropertyIndexList il = this->unequalToGlobal(globalSetup); + const bool equal = il.isEmpty(); + return equal; } CVariant CInterpolationAndRenderingSetupPerCallsign::propertyByIndex(const CPropertyIndex &index) const