Hi Robert,

I think the solution of having a GUIEventHandler through Viewer to capture and 
pass along all events will be the way I go.

I was trying to have various users on our end write their own event handlers 
based on their needs, and be able to swap from one to the other on the fly 
depending on the context of the application.  I noticed there was no 
removeEventHandler method in 2.8.2, and I saw a thread mentioning that this 
method has been added in the recent dev releases.  However, we won't be 
changing versions until 3.0, so I was trying to get around it another way.  
Adding a second layer of event handler - one attached to Viewer to pass events 
through, and the user-written one accessing that information - should do the 
trick without ever having to change the handler that Viewer sees.

Thanks for your input - helpful as always!

Cheers,
Tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30123#30123





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to