summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-05-08 00:26:24 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-05-08 01:32:38 +0300
commitd2a3a157a023f8608c44dfd3b07e8986df88c416 (patch)
tree2e40f665a4c8bca2c7f70c9f58cc79136b44b068 /indra/newview/llagent.cpp
parent1d03b21c009cbcb222be834b3985c3c39891ec29 (diff)
#5772 'Control not found' crash
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 3ab87cac13..3f5c0ad843 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -2676,7 +2676,7 @@ void LLAgent::onAnimStop(const LLUUID& id)
const bool up_pos = (mControlFlags & AGENT_CONTROL_UP_POS) != 0;
const F64 now = LLTimer::getTotalSeconds();
const F64 elapsed = now - mLastJumpInputTime;
- static LLCachedControl<F32> recent_jump_threshold_secs(gSavedSettings, "RecentJumpThresholdSecs");
+ static LLCachedControl<F32> recent_jump_threshold_secs(gSavedSettings, "RecentJumpThresholdSecs", 1.0);
const bool recent_jump = (mLastJumpInputTime > 0.0) && (elapsed < recent_jump_threshold_secs);
if (!up_pos && !recent_jump)