From 90b5d81c7a8059e9cb0d87053d2a8a8c07a34ab8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 8 Nov 2002 12:54:09 +0000 Subject: [PATCH] Minor warning fix. --- src/Demos/sgv/sgv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Demos/sgv/sgv.cpp b/src/Demos/sgv/sgv.cpp index 903914967..9ab4f30e7 100644 --- a/src/Demos/sgv/sgv.cpp +++ b/src/Demos/sgv/sgv.cpp @@ -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