diff --git a/CMakeLists.txt b/CMakeLists.txt index 1afb13f01..d197829ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ PROJECT(OpenSceneGraph) SET(OPENSCENEGRAPH_MAJOR_VERSION 3) SET(OPENSCENEGRAPH_MINOR_VERSION 5) SET(OPENSCENEGRAPH_PATCH_VERSION 1) -SET(OPENSCENEGRAPH_SOVERSION 141) +SET(OPENSCENEGRAPH_SOVERSION 142) # set to 0 when not a release candidate, non zero means that any generated # svn tags will be treated as release candidates of given number diff --git a/src/osgWrappers/serializers/osg/Drawable.cpp b/src/osgWrappers/serializers/osg/Drawable.cpp index e144313f5..02fa5130d 100644 --- a/src/osgWrappers/serializers/osg/Drawable.cpp +++ b/src/osgWrappers/serializers/osg/Drawable.cpp @@ -47,4 +47,9 @@ REGISTER_OBJECT_WRAPPER( Drawable, ADD_OBJECT_SERIALIZER( EventCallback, osg::Callback, NULL ); // _eventCallback ADD_OBJECT_SERIALIZER( CullCallback, osg::Callback, NULL ); // _cullCallback ADD_OBJECT_SERIALIZER( DrawCallback, osg::Drawable::DrawCallback, NULL ); // _drawCallback + + { + UPDATE_TO_VERSION_SCOPED( 142 ) + ADD_HEXINT_SERIALIZER( NodeMask, 0xffffffff ); // _nodeMask + } }