diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llhudeffectlookat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp index 75e2f30..ccd723f 100644 --- a/linden/indra/newview/llhudeffectlookat.cpp +++ b/linden/indra/newview/llhudeffectlookat.cpp | |||
@@ -53,6 +53,7 @@ | |||
53 | // [/RLVa:KB] | 53 | // [/RLVa:KB] |
54 | 54 | ||
55 | #include "llxmltree.h" | 55 | #include "llxmltree.h" |
56 | #include "hippolimits.h" | ||
56 | 57 | ||
57 | 58 | ||
58 | BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; | 59 | BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; |
@@ -553,7 +554,7 @@ void LLHUDEffectLookAt::setSourceObject(LLViewerObject* objectp) | |||
553 | //----------------------------------------------------------------------------- | 554 | //----------------------------------------------------------------------------- |
554 | void LLHUDEffectLookAt::render() | 555 | void LLHUDEffectLookAt::render() |
555 | { | 556 | { |
556 | if (sDebugLookAt && mSourceObject.notNull()) | 557 | if (sDebugLookAt && mSourceObject.notNull() && gHippoLimits->mAllowMinimap) //Has to have allow minimap as well, otherwise it defeats the purpose of no minimap |
557 | { | 558 | { |
558 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); | 559 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
559 | 560 | ||