The writeImage/Object/Node methods in the .osg and .pfb reader/writer didn't
have the new ReaderWriter::Options* structure passed to them, which meant the the virtual functions didn't bind with the new base class methods and wern't called on a write.
This commit is contained in:
@@ -70,7 +70,7 @@ class OSGReaderWriter : public ReaderWriter
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool writeObject(const Object& obj,const std::string& fileName)
|
||||
virtual bool writeObject(const Object& obj,const std::string& fileName, const osgDB::ReaderWriter::Options*)
|
||||
{
|
||||
Output fout;
|
||||
fout.open(fileName.c_str());
|
||||
@@ -83,7 +83,7 @@ class OSGReaderWriter : public ReaderWriter
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool writeNode(const Node& node,const std::string& fileName)
|
||||
virtual bool writeNode(const Node& node,const std::string& fileName, const osgDB::ReaderWriter::Options*)
|
||||
{
|
||||
Output fout;
|
||||
fout.open(fileName.c_str());
|
||||
|
||||
Reference in New Issue
Block a user