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