Added mechanism for registering proxy objects in the .osg plugin in a way that is compatible with static linking.

This commit is contained in:
Robert Osfield
2008-12-10 16:26:02 +00:00
parent 1b55a56731
commit c3611c5875
89 changed files with 945 additions and 883 deletions

View File

@@ -14,7 +14,7 @@ bool AlphaFunc_matchFuncStr(const char* str,AlphaFunc::ComparisonFunction& func)
const char* AlphaFunc_getFuncStr(AlphaFunc::ComparisonFunction func);
// register the read and write functions with the osgDB::Registry.
RegisterDotOsgWrapperProxy g_AlphaFuncProxy
REGISTER_DOTOSGWRAPPER(AlphaFunc)
(
new osg::AlphaFunc,
"AlphaFunc",