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
efc09fbf
Commit
efc09fbf
authored
Mar 08, 2012
by
Lionel
Browse files
Fixed bug in clearing of trail data.
parent
0557cad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/map3D/Pixhawk3DWidget.cc
View file @
efc09fbf
...
...
@@ -472,7 +472,10 @@ Pixhawk3DWidget::clearData(void)
systemData
.
setpointGroupNode
()
->
removeChildren
(
0
,
systemData
.
setpointGroupNode
()
->
getNumChildren
());
// clear trail data
systemData
.
orientationNode
()
->
removeChildren
(
0
,
systemData
.
orientationNode
()
->
getNumChildren
());
systemData
.
trailIndexMap
().
clear
();
systemData
.
trailMap
().
clear
();
systemData
.
trailNode
()
->
removeDrawables
(
0
,
systemData
.
trailNode
()
->
getNumDrawables
());
}
}
...
...
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