Changeset 6908 for OpenSceneGraph/trunk/examples/osgcubemap/osgcubemap.cpp
- Timestamp:
- 06/08/07 14:13:33 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcubemap/osgcubemap.cpp
r5923 r6908 79 79 // load the nodes from the commandline arguments. 80 80 osg::Node* rootnode = osgDB::readNodeFiles(arguments); 81 if (!rootnode) { 81 82 // if not loaded assume no arguments passed in, try use default mode instead. 83 if (!rootnode) rootnode = osgDB::readNodeFile("cessna.osg"); 84 85 if (!rootnode) 86 { 82 87 osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."<<std::endl; 83 88 return 1;
