- Timestamp:
- 11/22/04 15:10:12 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcallback/osgcallback.cpp
r2877 r3689 108 108 { 109 109 public: 110 virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::Re gistry::CacheHintOptions useObjectCache)110 virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::ReaderWriter::Options* options) 111 111 { 112 112 std::cout<<"before readNode"<<std::endl; 113 113 // note when calling the Registry to do the read you have to call readNodeImplementation NOT readNode, as this will 114 114 // cause on infinite recusive loop. 115 osgDB::ReaderWriter::ReadResult result = osgDB::Registry::instance()->readNodeImplementation(fileName, useObjectCache);115 osgDB::ReaderWriter::ReadResult result = osgDB::Registry::instance()->readNodeImplementation(fileName,options); 116 116 std::cout<<"after readNode"<<std::endl; 117 117 return result;
