HI Aurelien, On 1 July 2013 11:21, Aurelien Albert <[email protected]> wrote: > I've tried that : > > pStatsHandler->getCamera()->getOrCreateStateSet()->addAttribute(myStatsProgram); > > But myStatsProgram is no longer used, I don't really know why, but I believe > this is because of the traversal of the camera which doesn't apply its > stateset.
This sounds like a bug somewhere else, a Camera's StateSet should be applied. The right way to address this problem is to hunt down why the StateSet isn't being applied. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
