Hi Aurelien, Thanks for the change, now merged and submitted to svn/trunk.
The fix does suggest issues elsewhere though, passing a index more than one beyond the end of current children size suggests that something is amiss. Where about did you see this problem? I'd like to establish if there is a bug elsewhere in the OSG? Cheers, Robert. On 11 March 2013 12:42, Aurelien Albert <[email protected]> wrote: > Hi, > > There is a little bug in the osg::Group::insertChild method : > > If the index is more than the size of _children vector, the new child is > pushed at the end of the vector, but the index value is unmodified, so an > incorrect value is passed to the "childInserted" method. > > > Cheers, > Aurelien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=53028#53028 > > > > > _______________________________________________ > 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
