summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-09-16 14:15:32 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-09-16 14:15:32 -0700
commit20cea3b0f97c8c24ede5e8ec86dd426e7b1c9e34 (patch)
tree953439a1ca65c2242d26706e6bbe0393021b1ac4 /indra/newview/llvoavatar.cpp
parent60db8577a90be3ea3d4a06ab06232802be953286 (diff)
As a resident, when I elect to see friends names in green, it should also colour their group tags so that the name tags don't look like crap. This also applies to status message - Away/Busy in nametag
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 9dc49169df..a4efacdca9 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2952,20 +2952,16 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name)
}
// trim last ", "
line.resize( line.length() - 2 );
- LLColor4 status_color =
- LLUIColorTable::getInstance()->getColor("NameTagStatus");
- addNameTagLine(line, status_color, LLFontGL::NORMAL,
+ addNameTagLine(line, name_tag_color, LLFontGL::NORMAL,
LLFontGL::getFontSansSerifSmall());
}
if (sRenderGroupTitles
&& title && title->getString() && title->getString()[0] != '\0')
{
- LLColor4 group_color =
- LLUIColorTable::getInstance()->getColor("NameTagGroup");
std::string title_str = title->getString();
LLStringFn::replace_ascii_controlchars(title_str,LL_UNKNOWN_CHAR);
- addNameTagLine(title_str, group_color, LLFontGL::NORMAL,
+ addNameTagLine(title_str, name_tag_color, LLFontGL::NORMAL,
LLFontGL::getFontSansSerifSmall());
}