diff --git a/src/blackcore/simulator.cpp b/src/blackcore/simulator.cpp index 2cba79561..94ced5ff3 100644 --- a/src/blackcore/simulator.cpp +++ b/src/blackcore/simulator.cpp @@ -800,7 +800,7 @@ namespace BlackCore } if (!cg.isNull() && !this->hasSameCG(cg, callsign)) { - this->insertCG(cg, modelString, callsign); + this->insertCG(cg, modelString, callsign); // per model string and CG // here we know we have a valid model and CG m_autoPublishing.insert(modelString, cg); diff --git a/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp b/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp index 318363a57..b1077f248 100644 --- a/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp +++ b/src/plugins/simulator/fsxcommon/simulatorfsxcommon.cpp @@ -807,7 +807,9 @@ namespace BlackSimPlugin const CLength cg(remoteAircraftModel.cgToGroundFt, CLengthUnit::ft()); so.setAircraftCG(cg); so.setAircraftModelString(modelString); - this->insertCG(cg, modelString, cs); // env. provider + + // update in 2 providers + this->rememberElevationAndCG(cs, modelString, CElevationPlane::null(), cg); // env. provider this->updateCGAndModelString(cs, cg, modelString); // remote aircraft provider }