summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-12-03 15:20:50 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-12-03 15:20:50 +0200
commit99daebb1de59767c87fdfb063e01d0128d164e9c (patch)
treef0f3b1c795ecd3530478456311cf282068e3dd63 /indra/newview
parent65d661bc67a1ea712a8311fa474cf222f2bd3504 (diff)
SL-14456 FIXED Stop Moving action does not work in the custom key mappings viewer
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerinput.cpp3
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);