summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llhudtext.h2
-rw-r--r--indra/newview/llvoavatar.cpp10
2 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llhudtext.h b/indra/newview/llhudtext.h
index f7248ceffc..8219358cc1 100644
--- a/indra/newview/llhudtext.h
+++ b/indra/newview/llhudtext.h
@@ -34,7 +34,6 @@
#define LL_LLHUDTEXT_H
#include "llpointer.h"
-//#include "lldarrayptr.h"
#include "llhudobject.h"
#include "v4color.h"
@@ -45,7 +44,6 @@
#include "llfontgl.h"
#include <set>
#include <vector>
-//#include "lldarray.h"
// Renders a 2D text billboard floating at the location specified.
class LLDrawable;
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 93662a030f..9a9fbc22e2 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2882,7 +2882,6 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name)
mNameFriend = is_friend;
mTitle = title ? title->getString() : "";
LLStringFn::replace_ascii_controlchars(mTitle,LL_UNKNOWN_CHAR);
-// mNameString = utf8str_to_wstring(line);
new_name = TRUE;
}
@@ -2892,10 +2891,6 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name)
mNameText->setFont(LLFontGL::getFontSansSerif());
mNameText->setTextAlignment(LLHUDText::ALIGN_TEXT_LEFT);
mNameText->setFadeDistance(CHAT_NORMAL_RADIUS * 2.f, 5.f);
-// if (new_name)
-// {
-// mNameText->setLabel(mNameString);
-// }
char line[MAX_STRING]; /* Flawfinder: ignore */
line[0] = '\0';
@@ -2968,11 +2963,6 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name)
mNameText->setTextAlignment(LLHUDText::ALIGN_TEXT_CENTER);
mNameText->setFadeDistance(CHAT_NORMAL_RADIUS, 5.f);
mNameText->setVisibleOffScreen(FALSE);
-// if (new_name)
-// {
-// mNameText->setLabel("");
-// mNameText->setString(mNameString);
-// }
}
}