So you cannot find this out through a pointer to the viewer? You need to go through the EventAdapter?
/A On Tue, Aug 6, 2013 at 10:20 AM, Robert Osfield <[email protected]>wrote: > Hi Anders, > > On 6 August 2013 07:57, Anders Backman <[email protected]> wrote: > > What is the appropriate call for achieving the same thing now with OSG > 3.2.0 > > when the method Viewer::getCameraFocus is gone? > > I have added information about which camera the event is over to the > osgGA::GUIEventAdapter, it now has a PointerData stack, the topmost > entry will be the one with the focus, and it's PointerData.object > member variable will store the pointer to the Camera. This new scheme > can handle situations where you have distortion correction or other > RTT techniques being deployed in the Viewer. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- __________________________________________ Anders Backman, HPC2N 90187 UmeƄ University, Sweden [email protected] http://www.hpc2n.umu.se Cell: +46-70-392 64 67
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

