Hi Wang Rui,

I have looking at your versioning code again and have come to the
conclusion that the way you have implemented the versioning is that
you can either have a serializer active from a minimum version onwards
for ever, or have a serializer active from version 0 till a specified
version.  Now this will catch a number of different usage cases, but
it won't allow us to specify that a feature should be active between
version range.

I believe that a version range will be required, and while it will add
the need for an extra version variable in the ObjectWrapper and
Serializer the logic in the serializer selection will be far more
straight forward - no need to play tricks with negative numbers to get
a different meaning.

I'm tempted to dive in a tweak your implementation to do this.  Thoughts?

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to