Fixed copy and paste error.

This commit is contained in:
Robert Osfield
2016-06-24 11:38:28 +01:00
parent ef93e42136
commit 8d4ab16f2b

View File

@@ -518,8 +518,9 @@ void UFOManipulator::_frame( const osgGA::GUIEventAdapter &ea, osgGA::GUIActionA
if( fabs(_pitchOffset ) < 0.01 )
_pitchOffset = 0.0;
if( fabs(_yawOffset ) < 0.01 )
_pitchOffset = 0.0;
_yawOffset = 0.0;
}
if( _pitchOffset == 0.0 && _yawOffset == 0.0 )