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

@@ -103,7 +103,7 @@ inline osg::Vec3 ReaderWriterOBJ::transformNormal(const osg::Vec3& vec, const bo
// register with Registry to instantiate the above reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterOBJ> g_objReaderWriterProxy;
REGISTER_OSGPLUGIN(obj, ReaderWriterOBJ)
void ReaderWriterOBJ::buildMaterialToStateSetMap(obj::Model& model, MaterialToStateSetMap& materialToStateSetMap) const
{