diff options
Diffstat (limited to 'indra/newview/llhudeffectpointat.cpp')
-rw-r--r-- | indra/newview/llhudeffectpointat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llhudeffectpointat.cpp b/indra/newview/llhudeffectpointat.cpp index b6515df3e1..c600010f6b 100644 --- a/indra/newview/llhudeffectpointat.cpp +++ b/indra/newview/llhudeffectpointat.cpp @@ -230,6 +230,7 @@ bool LLHUDEffectPointAt::setPointAt(EPointAtType target_type, LLViewerObject *ob static LLCachedControl<bool> enable_selection_hints(gSavedSettings, "EnableSelectionHints", true); if (!enable_selection_hints) { + // Clear the effect so it doesn't linger around if it gets disabled if (mTargetType != POINTAT_TARGET_NONE) { clearPointAtTarget(); |