aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectlookat.cpp
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-24 20:20:55 +0100
committerJacek Antonelli2010-06-19 02:42:59 -0500
commit378190d67f1ee4b157a9495983efbfacd1c98fbc (patch)
treefd49101d1d08f3581ecdce30a5c8a1909407555e /linden/indra/newview/llhudeffectlookat.cpp
parentFixed missing Notification Console menu entry from Advanced > Consoles (diff)
downloadmeta-impy-378190d67f1ee4b157a9495983efbfacd1c98fbc.zip
meta-impy-378190d67f1ee4b157a9495983efbfacd1c98fbc.tar.gz
meta-impy-378190d67f1ee4b157a9495983efbfacd1c98fbc.tar.bz2
meta-impy-378190d67f1ee4b157a9495983efbfacd1c98fbc.tar.xz
Make "Show Look At" a persistent setting (Ported from Emerald, full credit due there.)
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index b18fc62..00bff21 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -553,6 +553,8 @@ void LLHUDEffectLookAt::render()
553//----------------------------------------------------------------------------- 553//-----------------------------------------------------------------------------
554void LLHUDEffectLookAt::update() 554void LLHUDEffectLookAt::update()
555{ 555{
556 LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt");
557
556 // If the target object is dead, set the target object to NULL 558 // If the target object is dead, set the target object to NULL
557 if (!mTargetObject.isNull() && mTargetObject->isDead()) 559 if (!mTargetObject.isNull() && mTargetObject->isDead())
558 { 560 {