Added read/writeObject() entry point to FBX plugin.

This commit is contained in:
Robert Osfield 2019-01-10 09:45:32 +00:00
parent c43bc0882e
commit 1c3b2d2285

View File

@ -28,6 +28,16 @@ public:
const char* className() const { return "FBX reader/writer"; } const char* className() const { return "FBX reader/writer"; }
virtual ReadResult readObject(const std::string& filename, const Options* options) const
{
return readNode(filename, options);
}
virtual WriteResult writObject(const osg::Node& node, const std::string& filename, const Options* options) const
{
return writeNode(node, filename, options);
}
virtual ReadResult readNode(const std::string& filename, const Options*) const; virtual ReadResult readNode(const std::string& filename, const Options*) const;
virtual WriteResult writeNode(const osg::Node&, const std::string& filename, const Options*) const; virtual WriteResult writeNode(const osg::Node&, const std::string& filename, const Options*) const;
}; };