From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED
macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. " From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap.
This commit is contained in:
@@ -15,8 +15,8 @@ REGISTER_OBJECT_WRAPPER( osgText_Text3D,
|
||||
ADD_ENUM_VALUE( PER_GLYPH );
|
||||
END_ENUM_SERIALIZER(); // _renderMode
|
||||
|
||||
UPDATE_TO_VERSION( 68 )
|
||||
{
|
||||
UPDATE_TO_VERSION_SCOPED( 68 )
|
||||
ADD_VEC4_SERIALIZER( Color, osg::Vec4(1.0,1.0,1.0,1.0) ); // _color
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user