From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I

completed the new registration of the plugin-readerwriters
("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see
attachment, based on today's svn)."
This commit is contained in:
Robert Osfield
2007-07-06 13:54:26 +00:00
parent a7de33ee55
commit 9e2fe92ef1
51 changed files with 53 additions and 62 deletions

View File

@@ -56,7 +56,7 @@ public:
virtual ReadResult readNode (const std::string& filename, const osgDB::ReaderWriter::Options* options) const;
};
osgDB::RegisterReaderWriterProxy<ReaderWriterMD2> g_readerWriter_MD2_Proxy;
REGISTER_OSGPLUGIN(md2, ReaderWriterMD2)
osgDB::ReaderWriter::ReadResult
ReaderWriterMD2::readNode (const std::string& file, const osgDB::ReaderWriter::Options* options) const