Skip to content

Commit

Permalink
fix save of EntranceAltitude
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-skyfish authored and DonLakeFlyer committed Feb 13, 2025
1 parent 9bf04ca commit a8ab437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MissionManager/StructureScanComplexItem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit a8ab437

Please sign in to comment.