Fixed mistmatch of ReadFileCallback type.

This commit is contained in:
Robert Osfield 2005-11-23 12:16:22 +00:00
parent a91b8fa40a
commit b4fb878e1e

View File

@ -107,7 +107,7 @@ class InsertCallbacksVisitor : public osg::NodeVisitor
class MyReadFileCallback : public osgDB::Registry::ReadFileCallback class MyReadFileCallback : public osgDB::Registry::ReadFileCallback
{ {
public: public:
virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::ReaderWriter::Options* options) virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, const osgDB::ReaderWriter::Options* options)
{ {
std::cout<<"before readNode"<<std::endl; std::cout<<"before readNode"<<std::endl;
// note when calling the Registry to do the read you have to call readNodeImplementation NOT readNode, as this will // note when calling the Registry to do the read you have to call readNodeImplementation NOT readNode, as this will