summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-24 17:21:12 -0800
committerJames Cook <james@lindenlab.com>2010-02-24 17:21:12 -0800
commit3eec41f6716940ffcfd4bf239e1e493c2d0a0658 (patch)
tree5079da57029a434df644515d75af84f8f86997bd
parentd7318467fecddcc285e67bdd294a434351163dc3 (diff)
Re-color name tags after display name changes
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index ac91ded18b..7f57289fc3 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7634,6 +7634,8 @@ void LLVOAvatar::invalidateName()
{
// force update by clearing name string
mNameString.clear();
+ // and force color update by tweaking alpha
+ mNameAlpha = F32_MAX;
}
LLHost LLVOAvatar::getObjectHost() const