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 | d5c377ec71fac22cf63a25daa29e1c83d9b3ef08 (patch) | |
| tree | c3fa4ee0db98db936a3c1cf2234f16249818227d /indra | |
| parent | f97236a1d9146ec605fb745f8ede42c808c3201f (diff) | |
Suppress rendering of last name "Resident" to display only SLIDs.
Reviewed with Huseby
Diffstat (limited to 'indra')
| -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 6e93bf1bf2..ad23aab9be 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2791,8 +2791,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) | 
