fix save of EntranceAltitude

This commit is contained in:
tony
2025-02-13 13:36:51 -07:00
committed by Don Gagne
parent 9bf04ca1be
commit a8ab437dab
@@ -241,7 +241,7 @@ bool StructureScanComplexItem::load(const QJsonObject& complexObject, int sequen
_layersFact.setRawValue (complexObject[layersName].toDouble());
_structureHeightFact.setRawValue (complexObject[structureHeightName].toDouble());
_startFromTopFact.setRawValue (complexObject[startFromTopName].toBool());
_entranceAltFact.setRawValue (complexObject[startFromTopName].toDouble());
_entranceAltFact.setRawValue (complexObject[_entranceAltName].toDouble());
_gimbalPitchFact.setRawValue (complexObject[gimbalPitchName].toDouble());
if (!_structurePolygon.loadFromJson(complexObject, true /* required */, errorString)) {