Fixed mistmatch of ReadFileCallback type.
This commit is contained in:
parent
a91b8fa40a
commit
b4fb878e1e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user