diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-09-16 14:15:32 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-09-16 14:15:32 -0700 |
commit | 20cea3b0f97c8c24ede5e8ec86dd426e7b1c9e34 (patch) | |
tree | 953439a1ca65c2242d26706e6bbe0393021b1ac4 | |
parent | 60db8577a90be3ea3d4a06ab06232802be953286 (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
-rw-r--r-- | indra/newview/llvoavatar.cpp | 8 | ||||
-rw-r--r-- | indra/newview/skins/default/colors.xml | 9 |
2 files changed, 2 insertions, 15 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()); } diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index 3bca881310..ddd2ff196b 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -546,9 +546,6 @@ name="NameTagFriend" value="0.447 0.784 0.663 1" /> <color - name="NameTagGroup" - value="1 1 1 1" /> - <color name="NameTagLegacy" reference="White" /> <color @@ -558,12 +555,6 @@ name="NameTagMismatch" reference="White" /> <color - name="NameTagSLID" - value="1 1 1 1" /> - <color - name="NameTagStatus" - value="1 1 1 1" /> - <color name="NetMapBackgroundColor" value="0 0 0 1" /> <color |