HI Mike,
As RJ says, the code for set the done flag on the viewer is in the
Viewer::eventTraversal() code, it just catches a keypress, you can
disable the feature by setting the key to 0 via:
viewer.setKeyEventSetsDone(0);
Robert.
On Thu, Jul 17, 2008 at 8:56 PM, Mike Greene <[EMAIL PROTECTE
Mike
U can look at the code eventTraversal() in Viewer.cpp at line number 501.
This is where viewer is set to be done ones you press esc key.
RJ
Mike Greene wrote:
> Where in the osg source code is the "close down" section for when the
> user hits the "esc" key? I need to be able to replicate the
Where in the osg source code is the "close down" section for when the
user hits the "esc" key? I need to be able to replicate the code via a
custom function, so I'd like to have it as a baseline.
Mike Greene
___
osg-users mailing list
osg-users@list
3 matches
Mail list logo