Added mechanism for registering proxy objects in the .osg plugin in a way that is compatible with static linking.
This commit is contained in:
@@ -12,7 +12,7 @@ bool Switch_readLocalData(Object& obj, Input& fr);
|
||||
bool Switch_writeLocalData(const Object& obj, Output& fw);
|
||||
|
||||
// register the read and write functions with the osgDB::Registry.
|
||||
RegisterDotOsgWrapperProxy g_SwitchProxy
|
||||
REGISTER_DOTOSGWRAPPER(Switch)
|
||||
(
|
||||
new osg::Switch,
|
||||
"Switch",
|
||||
|
||||
Reference in New Issue
Block a user