Hi Rui,

I've reviewed the changes and don't find it immediately obvious how
the lttle for loop functions.  I can't help but feel there is
potential for confusion as it's an implicit loop and will only work
appropriately if directly followed by an { .. } block and changes the
way the code works w.r.t previously.

Robert.

On 7 October 2012 03:30, Wang Rui <[email protected]> wrote:
> Hi Robert,
>
> This fixes a problem reported by Farshid in the thread "[osg-users]
> Backward compatibility with custom serializers". The macro
> UPDATE_TO_VERSION is used following with brackets as if it could
> update to specific version in a certain scope. But it actually changes
> the version STATE so all following serializers will be affected no
> matter it's in brackets or not. This patch fixes the confusing problem
> with a simple trick.
>
> Cheers,
>
> Wang Rui
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to