Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
29e9936d
Commit
29e9936d
authored
Jun 11, 2017
by
DonLakeFlyer
Browse files
Fix incorrect fact usage for grid entry location
parent
d1c2f3fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/SurveyMissionItem.cc
View file @
29e9936d
...
...
@@ -224,7 +224,7 @@ void SurveyMissionItem::save(QJsonArray& missionItems)
gridObject
[
_jsonGridAltitudeRelativeKey
]
=
_gridAltitudeRelativeFact
.
rawValue
().
toBool
();
gridObject
[
_jsonGridAngleKey
]
=
_gridAngleFact
.
rawValue
().
toDouble
();
gridObject
[
_jsonGridSpacingKey
]
=
_gridSpacingFact
.
rawValue
().
toDouble
();
gridObject
[
_jsonGridEntryLocationKey
]
=
_gridSpacing
Fact
.
rawValue
().
toDouble
();
gridObject
[
_jsonGridEntryLocationKey
]
=
_gridEntryLocation
Fact
.
rawValue
().
toDouble
();
gridObject
[
_jsonTurnaroundDistKey
]
=
_turnaroundDistFact
.
rawValue
().
toDouble
();
saveObject
[
_jsonGridObjectKey
]
=
gridObject
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment