summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-11-01 22:19:37 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-11-02 03:30:47 +0200
commitafa1305c337186941317b5ee29881de92cf86814 (patch)
tree33b3e11b84d574bbdac76c910f249697edd23578
parent43196292307b24dafa186ec6f869168d1cc389c9 (diff)
viewer#3001 Fix doubletap run
-rw-r--r--indra/newview/llviewerinput.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp
index 66042128f2..12c0335c4f 100644
--- a/indra/newview/llviewerinput.cpp
+++ b/indra/newview/llviewerinput.cpp
@@ -158,6 +158,9 @@ static void agent_handle_doubletap_run(EKeystate s, LLAgent::EDoubleTapRunMode m
static void agent_push_forwardbackward( EKeystate s, S32 direction, LLAgent::EDoubleTapRunMode mode )
{
+ agent_handle_doubletap_run(s, mode);
+ if (KEYSTATE_UP == s) return;
+
F32 time = gKeyboard->getCurKeyElapsedTime();
S32 frame_count = ll_round(gKeyboard->getCurKeyElapsedFrameCount());