Minor warning fix.

This commit is contained in:
Robert Osfield
2002-11-08 12:54:09 +00:00
parent aca6c3c4f9
commit 90b5d81c7a

View File

@@ -150,10 +150,11 @@ int main( int argc, char **argv )
osgGA::AnimationPathManipulator *apm = new osgGA::AnimationPathManipulator(pathfile);
if( apm->valid() )
{
unsigned int no = viewer.registerCameraManipulator(apm);
viewer.registerCameraManipulator(apm);
// selecting the animation path manipulator up front seems to disable view frustum
// in a heavy duty way that I'm do understand yet, so I'm commenting out for the
// time being. Simply pressing '4' will get you the animation path working correctly.
//unsigned int no = viewer.registerCameraManipulator(apm);
//viewer.selectCameraManipulator(no);
}
else