diff options
author | James Cook <james@lindenlab.com> | 2010-01-12 16:33:08 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-01-12 16:33:08 -0800 |
commit | 1d6d3fc5a9698dfd64d5fa778823d38d514ec3b1 (patch) | |
tree | f0cde99741d0773e2949394706c47ecc57a53113 | |
parent | a6c0e4e71de033c8e6798c867c8526261fc96e66 (diff) |
Suppress rendering of last name "Resident" to display only SLIDs.
Reviewed with Huseby
-rw-r--r-- | indra/newview/llvoavatar.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 4235f97eab..7df24c9ade 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2792,8 +2792,12 @@ void LLVOAvatar::idleUpdateNameTag(const LLVector3& root_pos_last) line += firstname->getString(); } - line += " "; - line += lastname->getString(); + // Suppress last name "Resident" as this is used for new SLID names + if (strcmp(lastname->getString(), "Resident")) + { + line += " "; + line += lastname->getString(); + } BOOL need_comma = FALSE; if (is_away || is_muted || is_busy) |