diff options
author | Tom Grimshaw | 2010-05-24 20:20:55 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:42:59 -0500 |
commit | 378190d67f1ee4b157a9495983efbfacd1c98fbc (patch) | |
tree | fd49101d1d08f3581ecdce30a5c8a1909407555e /linden/indra/newview/llhudeffectlookat.cpp | |
parent | Fixed missing Notification Console menu entry from Advanced > Consoles (diff) | |
download | meta-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.cpp | 2 |
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 | //----------------------------------------------------------------------------- |
554 | void LLHUDEffectLookAt::update() | 554 | void 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 | { |