- Timestamp:
- 06/08/07 14:13:33 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgblendequation/osgblendequation.cpp
r6159 r6908 123 123 // load the nodes from the commandline arguments. 124 124 osg::Node* loadedModel = osgDB::readNodeFiles(arguments); 125 126 // if not loaded assume no arguments passed in, try use default mode instead. 127 if (!loadedModel) loadedModel = osgDB::readNodeFile("cessnafire.osg"); 128 125 129 if (!loadedModel) 126 130 { … … 128 132 return 1; 129 133 } 130 134 131 135 osg::Group* root = new osg::Group; 132 136 root->addChild(loadedModel);
