Touchups to namesystem update

This commit is contained in:
Inusaito Sayori
2014-03-25 19:39:02 -04:00
parent f37d83abe1
commit de2ce83a8d
7 changed files with 33 additions and 19 deletions

View File

@@ -614,7 +614,7 @@ bool handleAscentAvatarModifier(const LLSD& newvalue)
static bool handlePhoenixNameSystemChanged(const LLSD& newvalue)
{
S32 dnval = (S32)newvalue.asInteger();
if (dnval <= 0 || dnval > 2) LLAvatarNameCache::setUseDisplayNames(false);
if (dnval <= 0 || dnval > 3) LLAvatarNameCache::setUseDisplayNames(false);
else LLAvatarNameCache::setUseDisplayNames(true);
LLVOAvatar::invalidateNameTags();
return true;