From aae33e4ef236359722fc8f0bfe4040392eaa3420 Mon Sep 17 00:00:00 2001 From: Kyler Eastridge Date: Mon, 28 Jul 2025 04:46:05 +0100 Subject: It's a target, not a hint --- indra/newview/app_settings/settings.xml | 8 ++++---- indra/newview/llhudeffectlookat.cpp | 6 +++--- indra/newview/skins/default/xui/en/panel_preferences_privacy.xml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 28240f50c6..2241bb89a4 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -16256,10 +16256,10 @@ Value 1 - EnableLookAtHints + EnableLookAtTarget Comment - Whether or not to send animate the avatar head and send look at hints when moving the cursor or focusing on objects + Whether or not to send animate the avatar head and send look at targets when moving the cursor or focusing on objects Persist 1 Type @@ -16267,7 +16267,7 @@ Value 1 - LimitLookAtHints + LimitLookAtTarget Comment Whether or not to clamp the look at targets around the avatar head before sending @@ -16278,7 +16278,7 @@ Value 0 - LimitLookAtHintsDistance + LimitLookAtTargetDistance Comment Distance to limit look at target to diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp index e7894e6c84..f995048210 100644 --- a/indra/newview/llhudeffectlookat.cpp +++ b/indra/newview/llhudeffectlookat.cpp @@ -398,7 +398,7 @@ bool LLHUDEffectLookAt::setLookAt(ELookAtType target_type, LLViewerObject *objec return false; } - static LLCachedControl enable_lookat_hints(gSavedSettings, "EnableLookAtHints", true); + static LLCachedControl enable_lookat_hints(gSavedSettings, "EnableLookAtTarget", true); if (!enable_lookat_hints) { if (mTargetType != LOOKAT_TARGET_IDLE) @@ -424,7 +424,7 @@ bool LLHUDEffectLookAt::setLookAt(ELookAtType target_type, LLViewerObject *objec return false; } - static LLCachedControl limit_lookat_hints(gSavedSettings, "LimitLookAtHints", true); + static LLCachedControl limit_lookat_hints(gSavedSettings, "LimitLookAtTarget", true); // Don't affect the look at if object is gAgentAvatarp (cursor head follow) if (limit_lookat_hints && object != gAgentAvatarp) { @@ -438,7 +438,7 @@ bool LLHUDEffectLookAt::setLookAt(ELookAtType target_type, LLViewerObject *objec LLVector3 agentHeadPosition = gAgentAvatarp->mHeadp->getWorldPosition(); float dist = (float)dist_vec(agentHeadPosition, position); - static LLCachedControl limit_lookat_hints_distance(gSavedSettings, "LimitLookAtHintsDistance", 2.0f); + static LLCachedControl limit_lookat_hints_distance(gSavedSettings, "LimitLookAtTargetDistance", 2.0f); if (dist > limit_lookat_hints_distance) { LLVector3 headOffset = position - agentHeadPosition; diff --git a/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml b/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml index c651d58f3b..bbd2ac367e 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml @@ -75,17 +75,17 @@ top_pad="10" width="350" />