Hi
I would like di disable key events for the screen capture handler. Here is the 
code:

   screenCaptureHandler = new osgViewer::ScreenCaptureHandler();
   screenCaptureHandler->setKeyEventTakeScreenShot(0);
   screenCaptureHandler->setKeyEventToggleContinuousCapture(0);
   mainView()->addEventHandler(screenCaptureHandler);

But it seems the setKeyEventToggleContinuousCapture(0) call causes a continuous 
capturing even if I never call startCapture(). Can anybody explain me why? 
Looking at the code (i.e. case osgGA::GUIEventAdapter::FRAME of "handle" 
method) I didn't find an obvious reason.

Regards,
Gianni

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





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

Reply via email to