X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmodel%2FSGPickAnimation.cxx;h=abdeec8229a4e515fc6c67784527ef73bf8e9de8;hb=0dcb64dca32d40e0c57463317823cf13ab76a335;hp=a2bad446addca9cd78a16aef8e4efe31b793a512;hpb=b703102d9b3981d18ccdec9cc3a936408824a202;p=simgear.git diff --git a/simgear/scene/model/SGPickAnimation.cxx b/simgear/scene/model/SGPickAnimation.cxx index a2bad446..abdeec82 100644 --- a/simgear/scene/model/SGPickAnimation.cxx +++ b/simgear/scene/model/SGPickAnimation.cxx @@ -538,7 +538,7 @@ public: if (fabs(delta) >= 1.0) { // determine direction from sign of delta Direction dir = (delta > 0.0) ? DIRECTION_INCREASE : DIRECTION_DECREASE; - fire(ea->getModKeyMask(), dir); + fire(ea->getModKeyMask() & osgGA::GUIEventAdapter::MODKEY_SHIFT, dir); _lastFirePos = _mousePos; } }