Hi.
Can anybody please tell me how to stop osgViewer from listening to ESC
key? It frequently results into Error: pthread_cond_destroy(,)
returned error status, status = 16. I want to control ESC key myself.
Thanks.
___
osg-users mailing list
osg-users@
michael kapelko writes:
> Hi.
>
> Can anybody please tell me how to stop osgViewer from listening to ESC
> key? It frequently results into Error: pthread_cond_destroy(,)
> returned error status, status = 16. I want to control ESC key myself.
I think if you write an osgGA::GUIEventHandler that rep
On 04/08/2012 2:38 PM, Alberto Luaces wrote:
I think if you write an osgGA::GUIEventHandler that reports that you
handled the ESC key (by returning true), the viewer won't do its own
processing.
In addition to this, I suggest you look into the following methods of
the osgViewer::ViewerBase cla
Thanks. ViewerBase::setKeyEventSetsDone(0) did help so that Viewer
doesn't listen to ESC, but now when I call ViewerBase::setDone(true)
myself, Viewer still fails to exit and prints:
Error: pthread_cond_destroy(,) returned error status, status = 16
after that, only Ctrl+C helps, because app hangs.
4 matches
Mail list logo