FreeBSD Bugzilla – Attachment 147296 Details for
Bug 193630
[patch] graphics/osg: <Shift> getting stuck
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SVN diff of affected ports
osg.svndif (text/plain), 2.31 KB, created by
Anonymized Account
on 2014-09-14 08:58:57 UTC
(
hide
)
Description:
SVN diff of affected ports
Filename:
MIME Type:
Creator:
Anonymized Account
Created:
2014-09-14 08:58:57 UTC
Size:
2.31 KB
patch
obsolete
>Index: graphics/osg/Makefile >=================================================================== >--- graphics/osg/Makefile (revision 368159) >+++ graphics/osg/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= osg > PORTVERSION= 3.2.0 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= graphics > MASTER_SITES= http://trac.openscenegraph.org/downloads/developer_releases/ \ > http://mirror.amdmi3.ru/distfiles/ >Index: graphics/osg/files/patch-src-osgGA-EventQueue.cpp >=================================================================== >--- graphics/osg/files/patch-src-osgGA-EventQueue.cpp (revision 0) >+++ graphics/osg/files/patch-src-osgGA-EventQueue.cpp (working copy) >@@ -0,0 +1,23 @@ >+# Shift key not released if group switch is something other than Control-Shift: >+# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1218650.html >+ >+--- src/osgGA/EventQueue.cpp.orig >++++ src/osgGA/EventQueue.cpp >+@@ -337,7 +337,7 @@ void EventQueue::mouseButtonRelease(floa >+ >+ void EventQueue::keyPress(int key, double time, int unmodifiedKey) >+ { >+- switch(key) >++ switch(unmodifiedKey) >+ { >+ case(GUIEventAdapter::KEY_Shift_L): _accumulateEventState->setModKeyMask(GUIEventAdapter::MODKEY_LEFT_SHIFT | _accumulateEventState->getModKeyMask()); break; >+ case(GUIEventAdapter::KEY_Shift_R): _accumulateEventState->setModKeyMask(GUIEventAdapter::MODKEY_RIGHT_SHIFT | _accumulateEventState->getModKeyMask()); break; >+@@ -381,7 +381,7 @@ void EventQueue::keyPress(int key, doubl >+ >+ void EventQueue::keyRelease(int key, double time, int unmodifiedKey) >+ { >+- switch(key) >++ switch(unmodifiedKey) >+ { >+ case(GUIEventAdapter::KEY_Shift_L): _accumulateEventState->setModKeyMask(~GUIEventAdapter::MODKEY_LEFT_SHIFT & _accumulateEventState->getModKeyMask()); break; >+ case(GUIEventAdapter::KEY_Shift_R): _accumulateEventState->setModKeyMask(~GUIEventAdapter::MODKEY_RIGHT_SHIFT & _accumulateEventState->getModKeyMask()); break; > >Property changes on: graphics/osg/files/patch-src-osgGA-EventQueue.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193630
: 147296