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
0874516f
Commit
0874516f
authored
Sep 17, 2019
by
Pierre TILAK
Browse files
Rename i in VisualItemIndex
parent
425263e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionController.cc
View file @
0874516f
...
...
@@ -412,8 +412,8 @@ int MissionController::insertComplexMissionItem(QString itemName, QGeoCoordinate
// If the ComplexMissionItem is inserted first, add a TakeOff SimpleMissionItem
if
(
_visualItems
->
count
()
==
1
&&
(
_controllerVehicle
->
fixedWing
()
||
_controllerVehicle
->
vtol
()
||
_controllerVehicle
->
multiRotor
()))
{
insertSimpleMissionItem
(
mapCenterCoordinate
,
i
);
i
++
;
insertSimpleMissionItem
(
mapCenterCoordinate
,
visualItemIndex
);
visualItemIndex
++
;
}
int
sequenceNumber
=
_nextSequenceNumber
();
...
...
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