From aa85f18bbc4f8b6b16e9d6777698a481ea8b4952 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 21 Aug 2009 09:54:45 +0000 Subject: [PATCH] From Stephane Lamoliatte, "I just add the a missing getView() function to the WindowManager." --- include/osgWidget/WindowManager | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osgWidget/WindowManager b/include/osgWidget/WindowManager index b4e9af1bd..1a70a1b87 100644 --- a/include/osgWidget/WindowManager +++ b/include/osgWidget/WindowManager @@ -279,6 +279,9 @@ class OSGWIDGET_EXPORT WindowManager: public osg::Switch, public UIObjectParent< // can be compared to osgGA::GUIEventAdapter::{KeySymbol,KeyModMask}. bool keyDown (int, int); bool keyUp (int, int); + + osgViewer::View* getView() { return _view; } + const osgViewer::View* getView() const { return _view; } private: // A functor used to sort the Windows by their Z component in descending order.