Added versioning to the new serialization additions
This commit is contained in:
parent
8694fd61ba
commit
3567e31009
@ -78,9 +78,13 @@ 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
|
||||||
|
|
||||||
|
{
|
||||||
|
UPDATE_TO_VERSION_SCOPED( 152 )
|
||||||
|
|
||||||
ADD_METHOD_OBJECT( "getRegisteredAnimation", osgAnimation_AnimationManagerBasegetAnimation );
|
ADD_METHOD_OBJECT( "getRegisteredAnimation", osgAnimation_AnimationManagerBasegetAnimation );
|
||||||
ADD_METHOD_OBJECT( "getNumRegisteredAnimations", osgAnimation_AnimationManagerBasegetnumAnimations );
|
ADD_METHOD_OBJECT( "getNumRegisteredAnimations", osgAnimation_AnimationManagerBasegetnumAnimations );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#undef OBJECT_CAST
|
#undef OBJECT_CAST
|
||||||
#define OBJECT_CAST static_cast
|
#define OBJECT_CAST static_cast
|
||||||
|
Loading…
Reference in New Issue
Block a user