Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE.
This commit is contained in:
parent
5c4446dd5e
commit
7d4eb93847
@ -115,7 +115,7 @@ int main( int argc, char **argv )
|
||||
osgProducer::Viewer viewer(arguments);
|
||||
|
||||
// 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());
|
||||
viewer.selectCameraManipulator(pos);
|
||||
@ -146,6 +146,7 @@ int main( int argc, char **argv )
|
||||
|
||||
viewer.setSceneData( rootnode );
|
||||
|
||||
|
||||
// create the windows and run the threads.
|
||||
viewer.realize();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user