Fix display names not being considered default if the display name is sent empty

This commit is contained in:
Inusaito Sayori
2015-01-09 14:29:57 -05:00
parent cadc08af87
commit 05a4409b3d

View File

@@ -122,6 +122,7 @@ void LLAvatarName::fromLLSD(const LLSD& sd)
if (mDisplayName.empty())
{
mDisplayName = mUsername;
mIsDisplayNameDefault = true;
}
}