- Timestamp:
- 06/14/11 18:54:20 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgthirdpersonview/osgthirdpersonview.cpp
r12292 r12529 33 33 // 34 34 // Command line arguments are taken to be models for display. If you 35 // specify no command line arguments, the code attempts to load cow.osg .35 // specify no command line arguments, the code attempts to load cow.osgt. 36 36 37 37 … … 148 148 // User didn't specify anything, or file(s) didn't exist. 149 149 // Try to load the cow... 150 osg::notify( osg::WARN ) << arguments.getApplicationName() << ": Could not find specified files. Trying \"cow.osg \" instead." << std::endl;151 if ( !(scene = osgDB::readNodeFile( std::string( "cow.osg " ) ) ) )150 osg::notify( osg::WARN ) << arguments.getApplicationName() << ": Could not find specified files. Trying \"cow.osgt\" instead." << std::endl; 151 if ( !(scene = osgDB::readNodeFile( std::string( "cow.osgt" ) ) ) ) 152 152 { 153 153 osg::notify( osg::FATAL ) << arguments.getApplicationName() << ": No data loaded." << std::endl;
