Hi Robert,

Your solution does the trick :-)

Cheers
Sebastian
Hi Sebastian,

Just getting back on the submissions horse, checking through my
archive of submissions this thread wasn't concluded, last thing
written was by me back in February:


I don't know why line 76 which is :


             osg::NodeVisitor::traverse( node );

Isn't simply:

             traverse( node );

As from my reading of the code it would do exactly what you are after.  I'm
not familiar with the wider code to know what the consequences would be but
outwardly this seems to be like a sensible thing to do, but given it takes
extra work to add the explicit osg::NodeVisitor:: it would seem like it was
a conscious decision by the author.   No clue as to whey though....
I have just made the above change and I believe it will achieve the
same thing as your modification, but by removing code rather than
adding any.  I have checked this change into git master.

Could you test it out on your models and see if it's now doing what
you are after?

Cheers,
Robert.
_______________________________________________
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