Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE.

This commit is contained in:
Robert Osfield 2006-08-01 10:27:11 +00:00
parent 5c4446dd5e
commit 7d4eb93847

View File

@ -115,7 +115,7 @@ int main( int argc, char **argv )
osgProducer::Viewer viewer(arguments); osgProducer::Viewer viewer(arguments);
// set up the value with sensible default event handlers. // set up the value with sensible default event handlers.
viewer.setUpViewer(osgProducer::Viewer::STANDARD_SETTINGS); viewer.setUpViewer(osgProducer::Viewer::ESCAPE_SETS_DONE);
unsigned int pos = viewer.addCameraManipulator(new GliderManipulator()); unsigned int pos = viewer.addCameraManipulator(new GliderManipulator());
viewer.selectCameraManipulator(pos); viewer.selectCameraManipulator(pos);
@ -146,6 +146,7 @@ int main( int argc, char **argv )
viewer.setSceneData( rootnode ); viewer.setSceneData( rootnode );
// create the windows and run the threads. // create the windows and run the threads.
viewer.realize(); viewer.realize();