diff options
Diffstat (limited to 'indra/newview/llhudeffectlookat.cpp')
-rw-r--r-- | indra/newview/llhudeffectlookat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp index f995048210..776d2dd31e 100644 --- a/indra/newview/llhudeffectlookat.cpp +++ b/indra/newview/llhudeffectlookat.cpp @@ -401,6 +401,7 @@ bool LLHUDEffectLookAt::setLookAt(ELookAtType target_type, LLViewerObject *objec static LLCachedControl<bool> enable_lookat_hints(gSavedSettings, "EnableLookAtTarget", true); if (!enable_lookat_hints) { + // Clear the effect so it doesn't linger around if it gets disabled if (mTargetType != LOOKAT_TARGET_IDLE) { mTargetObject = gAgentAvatarp; |