Added read/writeObject() entry point to FBX plugin.
This commit is contained in:
parent
c43bc0882e
commit
1c3b2d2285
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user