From Arjun Ramamurthy, fix for use of StatsHandler in multipleviews/windows

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14709 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-02-23 11:07:03 +00:00
parent 1320c923ca
commit 685a270c18

View File

@ -326,6 +326,7 @@ void StatsHandler::setUpHUDCamera(osgViewer::ViewerBase* viewer)
// only clear the depth buffer
_camera->setClearMask(0);
_camera->setAllowEventFocus(false);
_camera->setRenderer(new Renderer(_camera.get()));