summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-26 16:58:29 -0800
committerJames Cook <james@lindenlab.com>2010-02-26 16:58:29 -0800
commita235f3d5ea734db03a1a64901c893016f0320f18 (patch)
treec7c82d4ced87d8c6f144b6c4010b963a659a27d7 /indra/newview/llvoavatar.cpp
parent60d4870f59abbe081e36a50ffedbdea068aec75b (diff)
Clean out some dead code
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp10
1 files changed, 0 insertions, 10 deletions
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);
-// }
}
}