diff --git a/examples/osghangglide/osghangglide.cpp b/examples/osghangglide/osghangglide.cpp index 616ecba43..874011459 100644 --- a/examples/osghangglide/osghangglide.cpp +++ b/examples/osghangglide/osghangglide.cpp @@ -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();