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, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index a997910..561fce5 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -41,6 +41,7 @@
41#include "llagent.h" 41#include "llagent.h"
42#include "llvoavatar.h" 42#include "llvoavatar.h"
43#include "lldrawable.h" 43#include "lldrawable.h"
44#include "llviewercontrol.h"
44#include "llviewerobjectlist.h" 45#include "llviewerobjectlist.h"
45#include "llviewerwindow.h" 46#include "llviewerwindow.h"
46#include "llrendersphere.h" 47#include "llrendersphere.h"
@@ -593,11 +594,13 @@ void LLHUDEffectLookAt::render()
593 LLColor4 Color = LLColor4( (*mAttentions)[mTargetType].mColor, 1.0f ); 594 LLColor4 Color = LLColor4( (*mAttentions)[mTargetType].mColor, 1.0f );
594 std::string text = ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->getFullname(); 595 std::string text = ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->getFullname();
595 596
597// [RLVa:KB] - Imprudence-1.3.0
596 // Show anonyms in place of actual names when @shownames=n restricted 598 // Show anonyms in place of actual names when @shownames=n restricted
597 if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) 599 if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES))
598 { 600 {
599 text = gRlvHandler.getAnonym(text); 601 text = gRlvHandler.getAnonym(text);
600 } 602 }
603// [/RLVa:KB]
601 604
602 gViewerWindow->setupViewport(); 605 gViewerWindow->setupViewport();
603 hud_render_utf8text(text, render_pos, *fontp, LLFontGL::NORMAL, -0.5f * fontp->getWidthF32(text), 3.f, Color, FALSE ); 606 hud_render_utf8text(text, render_pos, *fontp, LLFontGL::NORMAL, -0.5f * fontp->getWidthF32(text), 3.f, Color, FALSE );