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
parent
e390e4f2b5
commit
a159751e61
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue