[osg-submissions] Off-by-one error in osgUtil/RenderBin.cpp?

Andrew Bettison andrewb at acres.com.au
Mon Jun 2 04:01:50 PDT 2008


Robert,

I tried to produce a simple node file to reproduce the bug, with no luck.

My application was using osgUtil::SceneView directly, which I have 
recently learned is inadvisable (we gotta update the web site on that 
one!) and I have switched to using osgViewer::Viewer instead.  The 
warning disappeared.  Now I'm struggling with other problems.

So I guess this issue will just have to go on ice.

-- Andrew


Robert Osfield wrote:
> I am currently reviewing the change, and it does indeed look trivial,
> but I'm get an uncomfortable feeling that I don't recall the reason
> why the numToPop value is decremented at all, so wonder if that this
> line of code isn't hiding a bug elsewhere.
> 
> Could you provide a simple .osg file that recreate the problem as this
> will really help me get inside this problem and double check what
> should be happening.



More information about the osg-submissions mailing list