Hi Aurelien, Thanks for the patch.
One issue I see with it is that it doesn't support nested RenderStages. The pre-render stages will end up clearing the render stage pointer before the actual render stage is drawn. You might need to save a reference to the current pointer and restore it afterwards. Or you could move the call to RenderInfo.setRenderStage to right before/after the call to drawInner. I'm not 100% sure of the ramifications of this technique though. Cheers, Farshid On Tue, Jul 23, 2013 at 2:18 PM, Aurelien Albert < [email protected]> wrote: > Hi, > > I've made a quick patch, works for me here. > > The "RenderBin" and "RenderStage" pointers stored in RenderInfo should > always be NULL or have a correct value. > > Not sure, in RenderStage.cpp, if the current RenderBin should also be > setted. > > > Cheers, > Aurelien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55394#55394 > > > > > _______________________________________________ > 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
