[osg-submissions] Group::removeChildren fix

Daniel Stien daniel at stien.org
Sun Jan 13 15:11:47 PST 2008


When removing a child from a osg::Group, childRemoved is called after the
node has already been erased from the node list, causing childRemoved to be
performed on the consecutive node.

Lines 180 and 182 are swapped in the attached Group.cpp.

--
Daniel Stien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Group.cpp
Type: text/x-c++src
Size: 12421 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080114/72a5fe43/attachment.cpp 


More information about the osg-submissions mailing list