Re: [osg-users] osg::Viewer remove event handler

2008-04-29 Thread David Callu
Hi michele, seem good, send it to Robert on osg-submissions mailing list. Cheers David 2008/4/28 Michele Bosi [EMAIL PROTECTED]: In case anyone is interested here's my implementation of the removeEventHandler(), it's a simple removal from the std::list used by OSG, don't know if there are

[osg-users] osg::Viewer remove event handler

2008-04-28 Thread Michele Bosi
Hello, I need to remove an event handler added to a Viewer using addEventHandler (osgGA::GUIEventHandler *eventHandler) I expected to find something like remove/delete/eraseEventHandler but couldn't find anything, how can I remove then an event handler? Thanks, Michele

Re: [osg-users] osg::Viewer remove event handler

2008-04-28 Thread Michele Bosi
In case anyone is interested here's my implementation of the removeEventHandler(), it's a simple removal from the std::list used by OSG, don't know if there are other interactions that one should take care of though: void removeEventHandler(osgGA::GUIEventHandler* eventHandler) {