diff options
author | Jeff (Gioffredo Linden) <gioffredo@lindenlab.com> | 2013-07-25 16:07:16 -0400 |
---|---|---|
committer | Jeff (Gioffredo Linden) <gioffredo@lindenlab.com> | 2013-07-25 16:07:16 -0400 |
commit | ee0b66f080de53f70599c824d5ff231d6a9c739f (patch) | |
tree | 8b6439dd94569c17834437a824b528a0bc5c1c74 /indra/newview/llviewerkeyboard.cpp | |
parent | 6060e5e46acbeb20a301070a0fd0efea029d33d0 (diff) |
VITA test framework - record events support
Diffstat (limited to 'indra/newview/llviewerkeyboard.cpp')
-rwxr-xr-x | indra/newview/llviewerkeyboard.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp index 4ecdc31e21..a8e82c6153 100755 --- a/indra/newview/llviewerkeyboard.cpp +++ b/indra/newview/llviewerkeyboard.cpp @@ -681,7 +681,10 @@ BOOL LLViewerKeyboard::handleKey(KEY translated_key, MASK translated_mask, BOOL { // it is sufficient to set this value once per call to handlekey // without clearing it, as it is only used in the subsequent call to scanKey - mKeyHandledByUI[translated_key] = gViewerWindow->handleKey(translated_key, translated_mask); + mKeyHandledByUI[translated_key] = gViewerWindow->handleKey(translated_key, translated_mask); + // mKeyHandledByUI is not what you think ... this indicates whether the UI has handled this keypress yet (any keypress) + // NOT whether some UI shortcut wishes to handle the keypress + } return mKeyHandledByUI[translated_key]; } |