Hide SLID if it matches display name, leave SLIDs on by default otherwise

I don't like this, but Crimp and Hamilton want it to address M's concerns
about impersonation.
meow-7.2.2
James Cook 2010-04-13 12:03:49 -07:00
parent e390e4f2b5
commit a159751e61
1 changed files with 3 additions and 2 deletions

View File

@ -2871,10 +2871,11 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name)
addNameTagLine(av_name.mDisplayName, name_tag_color, LLFontGL::NORMAL,
LLFontGL::getFontSansSerif());
}
if (show_slids)
// Suppress SLID display if display name matches exactly (ugh)
if (show_slids && !av_name.mIsDisplayNameDefault)
{
// JAMESDEBUG HACK
LLColor4 slid_color = name_tag_color * 0.8f;
LLColor4 slid_color = name_tag_color * 0.83f;
addNameTagLine(av_name.mSLID, slid_color, LLFontGL::NORMAL,
LLFontGL::getFontSansSerifSmall());
}