diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-07-21 22:15:12 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-07-21 22:15:12 +0300 |
commit | 84a0ae682ab18f0366528d7d6d449ab95a1fb3f9 (patch) | |
tree | 4be4fddbef4c7ad016d316fe348aec901e9f70ef /indra/newview/llfloaterpreference.cpp | |
parent | b388191062aec4cc1121b69e72c0cad856509b4d (diff) |
SL-15611 Do not ignore mask modifiers for mouse-teleporting
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rw-r--r-- | indra/newview/llfloaterpreference.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 7676487587..82f01fb747 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -3206,7 +3206,12 @@ void LLPanelPreferenceControls::setKeyBind(const std::string &control, EMouseCli break; } } - mConflictHandler[mode].registerControl(control, index, click, key, mask, true); + // At the moment 'ignore_mask' mask is mostly ignored, a placeholder + // Todo: implement it since it's preferable for things like teleport to match + // mask exactly but for things like running to ignore additional masks + // Ideally this needs representation in keybindings UI + bool ignore_mask = true; + mConflictHandler[mode].registerControl(control, index, click, key, mask, ignore_mask); } else if (!set) { |