Hi Max,

On 28 September 2012 05:13, Max Sergeev <[email protected]> wrote:
> Thanks for the answer, it does block the Escape key I suppose, but still 
> didnt solve my problem: qt controls on click of Escape key still change their 
> positions and become unclickable. I thought there could be some more global 
> way, like blocking the key events for whole application -- like they just are 
> not clicked.
> Will do check the example and documentation you suggested, thanks.

The osgViewer classes are built around not having any event handlers
by default and it's the application developers responsibility to add
these to their applications, so it's not a case of working out how to
block events but rather just adding the event handlers you need.  The
only exceptions to this rule is the escape key handling setting done -
which is on by default but can be switched off, and the
TrackballManipulator that is added as fallback if no other camera
manipulator is attached when you call Viewer::run().

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

Reply via email to