Renable old feature: Display complete names on profiles

This commit is contained in:
Liru Færs
2019-10-10 02:48:30 -04:00
parent e0883b72dc
commit 0409a81e36
3 changed files with 8 additions and 2 deletions

View File

@@ -81,8 +81,10 @@ void LLNameUI::setNameText()
}
else
{
got_name = LLAvatarNameCache::getNSName(mNameID, name);
if (!got_name)
LLAvatarName av_name;
if (got_name = LLAvatarNameCache::get(mNameID, &av_name))
name = mShowCompleteName ? av_name.getCompleteName() : av_name.getNSName();
else
mConnection = LLAvatarNameCache::get(mNameID, boost::bind(&LLNameUI::setNameText, this));
}