Removed old RLV code. Plugged holes with RLVa.
This commit is contained in:
@@ -638,33 +638,22 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef LL_RRINTERFACE_H //MK
|
||||
if (gRRenabled && gAgent.mRRInterface.mContainsShownames)
|
||||
if (LLAvatarNameCache::useDisplayNames())
|
||||
{
|
||||
fullname = gAgent.mRRInterface.getDummyName(fullname);
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif //mk
|
||||
if (LLAvatarNameCache::useDisplayNames())
|
||||
{
|
||||
LLAvatarName avatar_name;
|
||||
if (LLAvatarNameCache::get(mClosestAgentToCursor, &avatar_name))
|
||||
{
|
||||
static const LLCachedControl<S32> phoenix_name_system("PhoenixNameSystem", 0);
|
||||
if (phoenix_name_system == 2 || (phoenix_name_system == 1 && avatar_name.mIsDisplayNameDefault))
|
||||
{
|
||||
fullname = avatar_name.mDisplayName;
|
||||
}
|
||||
else
|
||||
{
|
||||
fullname = avatar_name.getCompleteName(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef LL_RRINTERFACE_H //MK
|
||||
}
|
||||
#endif //mk
|
||||
LLAvatarName avatar_name;
|
||||
if (LLAvatarNameCache::get(mClosestAgentToCursor, &avatar_name))
|
||||
{
|
||||
static const LLCachedControl<S32> phoenix_name_system("PhoenixNameSystem", 0);
|
||||
if (phoenix_name_system == 2 || (phoenix_name_system == 1 && avatar_name.mIsDisplayNameDefault))
|
||||
{
|
||||
fullname = avatar_name.mDisplayName;
|
||||
}
|
||||
else
|
||||
{
|
||||
fullname = avatar_name.getCompleteName(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
msg.append(fullname);
|
||||
}
|
||||
// [/Ansariel: Display name support]
|
||||
|
||||
Reference in New Issue
Block a user