summaryrefslogtreecommitdiff
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
parent1d03b21c009cbcb222be834b3985c3c39891ec29 (diff)
#5772 'Control not found' crash
-rw-r--r--indra/llxml/llcontrol.h2
-rw-r--r--indra/newview/llagent.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h
index 5aa2b9715e..ad283c89b1 100644
--- a/indra/llxml/llcontrol.h
+++ b/indra/llxml/llcontrol.h
@@ -321,7 +321,7 @@ public:
{
if(!group.controlExists(name))
{
- LL_ERRS() << "Control named " << name << "not found." << LL_ENDL;
+ LL_ERRS() << "Control named " << name << " not found." << LL_ENDL;
}
bindToControl(group, name);
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)