Hi Jeremy and thanks for your quick response. I think you have a point there. But even if I inverse my handler, things again do not work. I also tried setting setHandled to true but again nothing!
On Monday 02 July 2007 21:04, Jeremy L. Moles wrote: > On Mon, 2007-07-02 at 20:55 +0300, Panagiotis Papadakos wrote: > > Hello everybody! > > > > I have an OSGKeyboardEventHandler : public osgGA::GUIEventHandler > > keyboard handler, whose handle method returns true when for example 's' > > is pressed. My problem is that because I have also added the > > osgViewer::StatsHandler to my viewer i also see the stats printed on my > > screen! Am I doing something wrong? Thank you. > > I would guess that one does key press (perhaps yours), and the other > release (perhaps StatsHandler). I haven't checked the source to confirm, > but I bet this is what is happening... > > _______________________________________________ > osg-users mailing list > osg-users@openscenegraph.net > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ -- Papadakos Panagiotis _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/