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
7f190fa0
Commit
7f190fa0
authored
Sep 16, 2016
by
Don Gagne
Browse files
Fix unit tests
parent
df5e0733
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionCommandTree.cc
View file @
7f190fa0
...
@@ -102,7 +102,7 @@ void MissionCommandTree::_collapseHierarchy(Vehicle*
...
@@ -102,7 +102,7 @@ void MissionCommandTree::_collapseHierarchy(Vehicle*
foreach
(
MAV_CMD
command
,
cmdList
->
commandIds
())
{
foreach
(
MAV_CMD
command
,
cmdList
->
commandIds
())
{
// Only add supported command to tree (MAV_CMD_NAV_LAST is used for planned home position)
// Only add supported command to tree (MAV_CMD_NAV_LAST is used for planned home position)
if
(
!
vehicle
->
firmwarePlugin
()
->
supportedMissionCommands
().
contains
(
command
)
&&
command
!=
MAV_CMD_NAV_LAST
)
{
if
(
!
qgcApp
()
->
runningUnitTests
()
&&
!
vehicle
->
firmwarePlugin
()
->
supportedMissionCommands
().
contains
(
command
)
&&
command
!=
MAV_CMD_NAV_LAST
)
{
continue
;
continue
;
}
}
...
...
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