aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectlookat.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp3
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
58BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE; 59BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE;
@@ -553,7 +554,7 @@ void LLHUDEffectLookAt::setSourceObject(LLViewerObject* objectp)
553//----------------------------------------------------------------------------- 554//-----------------------------------------------------------------------------
554void LLHUDEffectLookAt::render() 555void 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