[osg-submissions] Group::removeChildren fix

Robert Osfield robert.osfield at gmail.com
Mon Jan 14 09:28:14 PST 2008


HI Daniel,

On Jan 14, 2008 4:55 PM, Daniel Stien <daniel at stien.org> wrote:
> childRemoved() didn't seem to serve any purpose if there was no way to
> determine which children were affected. You're right, if childRemoved()
> is supposed to be fed an index position in _children it should probably
> be given a more suitable name. What about childRemoving()?

I disagree, childRemoved says.. the child has been removed, its say
exactly what has happend.

> I'm subclassing Group to encapsulate a third party collision/dynamics
> world,
> using childInserted()/childRemoved() to internally add/remove rigid body
> nodes.

Thanks for the clarification.

Robert.


More information about the osg-submissions mailing list