From 685a270c188d64c289f4dd9f001cd59400fdec46 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 23 Feb 2015 11:07:03 +0000 Subject: [PATCH] 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 --- src/osgViewer/StatsHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgViewer/StatsHandler.cpp b/src/osgViewer/StatsHandler.cpp index d8c92825c..2a908a93d 100644 --- a/src/osgViewer/StatsHandler.cpp +++ b/src/osgViewer/StatsHandler.cpp @@ -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()));