- Timestamp:
- 06/08/07 17:29:04 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgstereoimage/osgstereoimage.cpp
r6834 r6914 451 451 } 452 452 453 if (arguments.argc()<=1)454 {455 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION);456 return 1;457 }458 459 453 // extract the filenames from the arguments list. 460 454 FileList fileList; … … 464 458 } 465 459 466 if (fileList.size()<2) 467 { 460 if (fileList.empty()) 461 { 462 fileList.push_back("Images/dog_left_eye.jpg"); 463 fileList.push_back("Images/dog_right_eye.jpg"); 464 } 465 else if (fileList.size()<2) 466 { 467 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 468 468 return 1; 469 469 }
