Hello,

I was using the osgViewer::ScreenCaptureHandler today for the first time. While I was trying to disable the continuous capture feature, I stumbled upon what I believe to be a bug. The switch statement case for osgGA::GUIEventAdapter::FRAME is missing a break statement, so the KEYUP statements are also executed.

Also, I was wondering if it would be a reasonable enhancement to disable, for example, the continuous capture feature by simply setting the _keyEvent (e.g., _keyEventToggleContinuousCapture) to zero, and adding the feature guard to getUsage() et. al? This probably applies to other event handlers (such as the stats handler or any other handler with multiple key mappings).

Thank you,

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

Reply via email to