diff --git a/examples/osganimate/osganimate.cpp b/examples/osganimate/osganimate.cpp index 9a303d8a0..18c5e799e 100644 --- a/examples/osganimate/osganimate.cpp +++ b/examples/osganimate/osganimate.cpp @@ -243,7 +243,9 @@ int main( int argc, char **argv ) viewer.setCameraManipulator(new osgGA::TrackballManipulator()); -#if 1 + // viewer.setUpViewOnSingleScreen(1); + +#if 0 // use of custom simulation time. @@ -261,9 +263,6 @@ int main( int argc, char **argv ) #else // normal viewer usage. - - viewer.setUpViewOnSingleScreen(1); - return viewer.run(); #endif