Re: [osg-users] Disable GUIEventHandler

2014-07-02 Thread Robert Osfield
HI Robert, There isn't a feature build into EventHandler to toggle them on/off so just stick a flag into the event handlers to say whether they are active or not and check this in the handle() method. Robert. On 2 July 2014 01:43, Robert Gosztyla robert.goszt...@gmail.com wrote: Hi, I have

[osg-users] Disable GUIEventHandler

2014-07-01 Thread Robert Gosztyla
Hi, I have in my project few pickers (for models, triangles, points) based on osgGA::GUIEventHandler. All of them are added to viewer... but i would like to have them selectable to work somehow (i mean one active in current time). All i found is method removeEventHandler(), but it seems to