Added versioning to the new serialization additions

This commit is contained in:
OpenSceneGraph git repository 2017-11-11 13:04:34 +00:00 committed by GitHub
parent 8694fd61ba
commit 3567e31009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,12 @@ REGISTER_OBJECT_WRAPPER( osgAnimation_AnimationManagerBase,
ADD_USER_SERIALIZER( Animations ); // _animations ADD_USER_SERIALIZER( Animations ); // _animations
ADD_BOOL_SERIALIZER( AutomaticLink, true ); // _automaticLink ADD_BOOL_SERIALIZER( AutomaticLink, true ); // _automaticLink
ADD_METHOD_OBJECT( "getRegisteredAnimation", osgAnimation_AnimationManagerBasegetAnimation ); {
ADD_METHOD_OBJECT( "getNumRegisteredAnimations", osgAnimation_AnimationManagerBasegetnumAnimations ); UPDATE_TO_VERSION_SCOPED( 152 )
ADD_METHOD_OBJECT( "getRegisteredAnimation", osgAnimation_AnimationManagerBasegetAnimation );
ADD_METHOD_OBJECT( "getNumRegisteredAnimations", osgAnimation_AnimationManagerBasegetnumAnimations );
}
} }
} }
#undef OBJECT_CAST #undef OBJECT_CAST