Changeset 67 for osgVisual/src/core


Ignore:
Timestamp:
Jul 11, 2010, 1:31:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/core/visual_core.cpp

    r58 r67  
    5656        OSG_NOTIFY( osg::ALWAYS ) << "Initialize visual_core..." << std::endl;
    5757
    58         // Process commandline arguments for configuration parameter
    59         processCommandlineArguments();
    60        
    6158        // Add manipulators for user interaction
    6259        addManipulators();
     
    250247}
    251248
    252 void visual_core::processCommandlineArguments()
    253 {
    254         std::cout << "Processing general commandline arguments..." << std::endl;
    255 
     249
     250bool visual_core::checkCommandlineArgumentsForFinalErrors()
     251{
    256252        // Setup Application Usage
    257253        arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName());
     
    275271        viewer->setDone(true);
    276272    }
    277 }
    278 
    279 bool visual_core::checkCommandlineArgumentsForFinalErrors()
    280 {
     273
    281274         // any option left unread are converted into errors to write out later.
    282275    arguments.reportRemainingOptionsAsUnrecognized();
Note: See TracChangeset for help on using the changeset viewer.