summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAnsariel Hiller <Ansariel@users.noreply.github.com>2024-07-27 17:10:08 +0200
committerGitHub <noreply@github.com>2024-07-27 18:10:08 +0300
commita1bdef0c159ca2ebf5f2d985d56a541101e3bf6a (patch)
tree19c108b7a3b5d27369367a31d2d8e43035b7b1be /indra
parent266553913f134755c021bf509cda55fb96a07e1a (diff)
Fix rapidly triggering gestures can make them get stuck (#2126)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llgesturemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 8ee11cdbd2..1bbeba43ec 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -536,7 +536,7 @@ void LLGestureMgr::playGesture(LLMultiGesture* gesture, bool fromKeyPress)
if (!gesture) return;
// Reset gesture to first step
- gesture->mCurrentStep = 0;
+ gesture->reset();
gesture->mTriggeredByKey = fromKeyPress;
// Add to list of playing