Thank you Robert, Do you mean that I shall create an event-handler which provide access to the composite viewer and its views and add the event-handler to each view?
Patrik On Fri, May 2, 2014 at 10:57 AM, Robert Osfield <robert.osfi...@gmail.com>wrote: > Hi Patrik, > > What you could do is create an event handling that responds to the > event key by calling home on all the views. > > Robert. > > On 2 May 2014 08:46, Patrik Andersson <patrik.andersson...@gmail.com> > wrote: > > Hi, > > > > I've got two views with their own cameras, set up under a Composite > Viewer. > > Each of the view is assigned a CameraManipulator. I would like to set the > > home position for both views by pressing a key, but when I press the key > > only one view got a new home position. > > > > How can I pass the same event to both CameraManipulators so both views > sets > > a new home position when a key is pressed? > > > > Kind regards > > > > Patrik > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org