Show
Ignore:
Timestamp:
11/22/04 15:10:12 (10 years ago)
Author:
robert
Message:

Moved Registry::CacheHintOptions? into ReaderWriter::Options

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcallback/osgcallback.cpp

    r2877 r3689  
    108108{ 
    109109public: 
    110     virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::Registry::CacheHintOptions useObjectCache) 
     110    virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::ReaderWriter::Options* options) 
    111111    { 
    112112        std::cout<<"before readNode"<<std::endl; 
    113113        // note when calling the Registry to do the read you have to call readNodeImplementation NOT readNode, as this will 
    114114        // 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); 
    116116        std::cout<<"after readNode"<<std::endl; 
    117117        return result;