diff --git a/src/osgWrappers/serializers/osg/Object.cpp b/src/osgWrappers/serializers/osg/Object.cpp index 1ffd0c929..ee7f2b637 100644 --- a/src/osgWrappers/serializers/osg/Object.cpp +++ b/src/osgWrappers/serializers/osg/Object.cpp @@ -29,7 +29,7 @@ static bool writeUserData( osgDB::OutputStream& os, const osg::Object& obj ) } REGISTER_OBJECT_WRAPPER( Object, - /*new osg::Object*/NULL, + new osg::DummyObject, osg::Object, "osg::Object" ) {