Hi Marc-Andre,

On 18/10/12 11:30, Marc-André Labrie wrote:
> Is there a reason why an osg::Sequence does not calculates its boundingsphere 
> based only
> on its active child (rather than using all of them)?
> 
> I can define my own Sequence and override the getBounds() method; but I want 
> to know why
> it is not the default behavior.

From the source it looks like manually setting the traversal mode to
TRAVERSE_ACTIVE_CHILDREN would do the trick.

But it does feel like a better default IMO.

Cheers,
/ulrich

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to