aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvoavatar.cpp41
1 files changed, 23 insertions, 18 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index f3eec54..513d43c 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -93,10 +93,12 @@
93#else 93#else
94#include "boost/lexical_cast.hpp" 94#include "boost/lexical_cast.hpp"
95#endif 95#endif
96#include "hippoLimits.h"// getMaxPrimScale
97
96// [RLVa:KB] 98// [RLVa:KB]
97#include "llstartup.h" 99#include "llstartup.h"
98// [/RLVa:KB] 100// [/RLVa:KB]
99#include "hippoLimits.h"// getMaxPrimScale 101
100using namespace LLVOAvatarDefines; 102using namespace LLVOAvatarDefines;
101 103
102//----------------------------------------------------------------------------- 104//-----------------------------------------------------------------------------
@@ -3626,30 +3628,33 @@ void LLVOAvatar::idleUpdateNameTag(const LLVector3& root_pos_last)
3626 || is_appearance != mNameAppearance || client.length() != 0) 3628 || is_appearance != mNameAppearance || client.length() != 0)
3627 { 3629 {
3628 std::string line; 3630 std::string line;
3629 3631// [RLVa:KB] - Version: 1.23.4 | Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-0.2.0b
3630 if (mRenderGroupTitles && title && title->getString() && title->getString()[0] != '\0') 3632 if (!fRlvShowNames)
3631 { 3633 {
3632 line += title->getString(); 3634// [/RLVa:KB]
3633 //LLStringFn::replace_ascii_controlchars(line,LL_UNKNOWN_CHAR); IMP-136 -- McCabe 3635 if (mRenderGroupTitles && title && title->getString() && title->getString()[0] != '\0')
3634 line += "\n"; 3636 {
3635 line += firstname->getString(); 3637 line += title->getString();
3638 //LLStringFn::replace_ascii_controlchars(line,LL_UNKNOWN_CHAR); IMP-136 -- McCabe
3639 line += "\n";
3640 line += firstname->getString();
3641 }
3642 else
3643 {
3644 line += firstname->getString();
3645 }
3646
3647 line += " ";
3648 line += lastname->getString();
3649// [RLVa:KB] - Version: 1.23.4 | Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-0.2.0b
3636 } 3650 }
3637 else 3651 else
3638 { 3652 {
3639 line += firstname->getString(); 3653 line = gRlvHandler.getAnonym(line.assign(firstname->getString()).append(" ").append(lastname->getString()));
3640 }
3641
3642 line += " ";
3643 line += lastname->getString();
3644
3645// [RLVa:KB]
3646 if (fRlvShowNames)
3647 {
3648 // User is not allowed to see who it is, due to RLV settings.
3649 line = gRlvHandler.getAnonym(line);
3650 } 3654 }
3651// [/RLVa:KB] 3655// [/RLVa:KB]
3652 3656
3657
3653 BOOL need_comma = FALSE; 3658 BOOL need_comma = FALSE;
3654 3659
3655 bool show_client = client.length() != 0 && gSavedSettings.getBOOL("ShowClientNameTag"); 3660 bool show_client = client.length() != 0 && gSavedSettings.getBOOL("ShowClientNameTag");