Permalink
Browse files

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

  • Loading branch information...
robertosfield committed Jan 10, 2019
1 parent c43bc08 commit 1c3b2d2285ad4d8d6862f8068f74c80d693329dc
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/osgPlugins/fbx/ReaderWriterFBX.h
@@ -28,6 +28,16 @@ class ReaderWriterFBX : public osgDB::ReaderWriter

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 WriteResult writeNode(const osg::Node&, const std::string& filename, const Options*) const;
};

0 comments on commit 1c3b2d2

Please sign in to comment.