Fixed warning

This commit is contained in:
Robert Osfield
2016-06-25 08:00:18 +01:00
parent 5a8100a7f9
commit 26d2ed94f9

View File

@@ -90,7 +90,7 @@ struct StatsGraph : public osg::MatrixTransform
void changeYposition(float y)
{
osg::Vec3 _pos = getMatrix().getTrans();
_pos = getMatrix().getTrans();
_pos[1] = y - _height;
setMatrix(osg::Matrix::translate(_pos));
}