Fixed shadows warning and an associated by in osgAnimation::Statshandler::changeYposition(..)

This commit is contained in:
Robert Osfield
2016-05-25 11:20:13 +01:00
parent 13dfd34ab6
commit 9cb714cd39
2 changed files with 3 additions and 4 deletions

View File

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