diff options
author | Cho <cho@lindenlab.com> | 2013-03-18 20:06:25 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-03-18 20:06:25 +0100 |
commit | 22203b43db851a611adbaa2413bc92a14dd7f951 (patch) | |
tree | 0f33d0c0d97542a5090543b6d7a409689ff84393 /indra/newview/llvoavatar.cpp | |
parent | a079acf1aa3b7cfe8ee35bb7afdbae83df0df5ca (diff) |
CHUI-826 FIX [CHUIBUG]User nametags (nametag floaters) intermittently disappear in CHUI builds.
Added check in LLVOAvatar::idleUpdateNameTagText() to account for case where mNameString is literally "" (two quotes)
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index c74d9f1292..d295fc60cd 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -3097,6 +3097,7 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name) // Rebuild name tag if state change detected if (mNameString.empty() + || (mNameString.size() == 2 && mNameString[0] == 10 && mNameString[1] == 10) // *TODO : find out why mNameString is sometimes "" || new_name || (!title && !mTitle.empty()) || (title && mTitle != title->getString()) |