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:
parent
1320c923ca
commit
685a270c18
@ -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()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user