Hi all, I have an event callback which needed to be called before some custom code I call in the main application loop, something like:
while() { viewer.eventTraversal(); // << needed callback here // custom code // prepare stuff to be drawn during next frames viewer.updateTraversal(); // ... } When the viewer is about to exit, the event callbacks are not called. In my case the callback is needed instead, not to cause a segfault to the custom code between osg calls. The obvious solution is to place the callback directly in the main loop, but I'd like to avoid that (to keep it more "transparent", as it's a kind of framework to be used in several applications). Have you got any suggestion? Thank you! Ricky
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org