Commit 330d3eb3 authored by Lorenz Meier's avatar Lorenz Meier

Fix warning

parent 46a647e1
......@@ -236,7 +236,7 @@ Pixhawk3DWidget::localPositionChanged(UASInterface* uas, int component,
group->addChild(geode);
// text indicates component id
colorRGB.lighter();
colorRGB = colorRGB.lighter();
color = osg::Vec4(colorRGB.redF(), colorRGB.greenF(), colorRGB.blueF(), 1.0f);
osg::ref_ptr<osgText::Text> text = new osgText::Text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment