Revert "FIRE-31551: Fix aggressive switching into mouselook when pressing M" - Making room for LL fix

This reverts commit 637ddfa009.
meow-7.2.2
Ansariel 2022-08-12 20:12:52 +02:00
parent 178631838a
commit 2b2fdb6cb5
1 changed files with 2 additions and 3 deletions

View File

@ -3296,9 +3296,8 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask)
if (keyboard_focus
&& !gFocusMgr.getKeystrokesOnly())
{
// <FS:Ansariel> FIRE-31551: This causes aggressive switching into mouselook while any floater has focus
//LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(keyboard_focus);
//if (cur_focus && cur_focus->acceptsTextInput())
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(keyboard_focus);
if (cur_focus && cur_focus->acceptsTextInput())
{
#ifdef LL_WINDOWS
// On windows Alt Gr key generates additional Ctrl event, as result handling situations