diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-12-03 15:20:50 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-12-03 15:20:50 +0200 |
commit | 99daebb1de59767c87fdfb063e01d0128d164e9c (patch) | |
tree | f0f3b1c795ecd3530478456311cf282068e3dd63 | |
parent | 65d661bc67a1ea712a8311fa474cf222f2bd3504 (diff) |
SL-14456 FIXED Stop Moving action does not work in the custom key mappings viewer
-rw-r--r-- | indra/newview/llviewerinput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp index ad4b9d4215..3954d4fb5e 100644 --- a/indra/newview/llviewerinput.cpp +++ b/indra/newview/llviewerinput.cpp @@ -609,7 +609,8 @@ bool edit_avatar_move_backward( EKeystate s ) bool stop_moving( EKeystate s ) { - if( KEYSTATE_DOWN != s ) return true; + //it's supposed that 'stop moving' key will be held down for some time + if( KEYSTATE_UP == s ) return true; // stop agent gAgent.setControlFlags(AGENT_CONTROL_STOP); |