Removed redundent spaces

This commit is contained in:
Robert Osfield 2009-10-21 16:41:41 +00:00
parent 5e6415696f
commit b0db1a6171

View File

@ -50,14 +50,14 @@ int main(int argc, char** argv)
arguments.getApplicationUsage()->write(std::cout, helpType); arguments.getApplicationUsage()->write(std::cout, helpType);
return 1; return 1;
} }
// report any errors if they have occurred when parsing the program arguments. // report any errors if they have occurred when parsing the program arguments.
if (arguments.errors()) if (arguments.errors())
{ {
arguments.writeErrorMessages(std::cout); arguments.writeErrorMessages(std::cout);
return 1; return 1;
} }
if (arguments.argc()<=1) if (arguments.argc()<=1)
{ {
arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION);
@ -106,13 +106,13 @@ int main(int argc, char** argv)
// add the state manipulator // add the state manipulator
viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) );
// add the thread model handler // add the thread model handler
viewer.addEventHandler(new osgViewer::ThreadingHandler); viewer.addEventHandler(new osgViewer::ThreadingHandler);
// add the window size toggle handler // add the window size toggle handler
viewer.addEventHandler(new osgViewer::WindowSizeHandler); viewer.addEventHandler(new osgViewer::WindowSizeHandler);
// add the stats handler // add the stats handler
viewer.addEventHandler(new osgViewer::StatsHandler); viewer.addEventHandler(new osgViewer::StatsHandler);