Hi Richard,

We've just been through this in another thread this week.  A "bug fix"
from an submission pre 2.0 is a culprit, reverting this fixes the
problem.   Try the SVN version of the OSG.

Also your code is buggy anyway... the getModKeyMask returns a mask not
a key, you'll need to check the MODKEY_* enum list of mask values
instead of the KEY_ ones.

Robert.

On 7/6/07, Schmidt, Richard, SDGE1 <[EMAIL PROTECTED]> wrote:




Hi,

the modkeymask doesn't seem to be reseted when releasing the CTRL key? Any
ideas? Just add this sample code to your favorite matrixmanipulator.



if (

 ( ea.getModKeyMask() &
osgGA::GUIEventAdapter::KEY_Control_L ) != 0 ||

 ( ea.getModKeyMask() &
osgGA::GUIEventAdapter::KEY_Control_R ) != 0 ) {

// Debug in here

}



Richard

btw: We are using the default win32 graphics window implmentation here.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to