On Mon, 2008-01-14 at 17:28 +0000, Robert Osfield wrote:
> HI Daniel,
> 
> On Jan 14, 2008 4:55 PM, Daniel Stien <[EMAIL PROTECTED]> 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.

osgHUD uses this too, although currently I only have code for
childInserted, so I haven't run into the childRemoved thing...

> Thanks for the clarification.
> 
> 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