> I think this has to be bug somewhere, just no clue as to where... One > hack around would be to expose the StatsHandler::_switch and use this > in place of the decorator but this would still be a hack - the bug is > still elsewhere.
I've done more digging and found that if I stick the osg::Program on the StatsHandler::_switch's StateSet it works, and if I also works if I apply the Program to SceneView::_localStateSet, but for some reason attaching the Program to the StateSet attached the StatHandler:_camera. The odd thing is that he StatHandler:_camera's StateSet gets pushed just before the SceneView one, and both get push/popped in exactly the same way. I still don't have any clues why there is difference yet, it's very odd. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
