[RLVa] Always show your own hover tip
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
#include "llviewerparcelmgr.h"
|
#include "llviewerparcelmgr.h"
|
||||||
#include "llviewerregion.h"
|
#include "llviewerregion.h"
|
||||||
#include "llviewerwindow.h"
|
#include "llviewerwindow.h"
|
||||||
|
#include "llvoavatarself.h"
|
||||||
#include "llglheaders.h"
|
#include "llglheaders.h"
|
||||||
#include "llviewertexturelist.h"
|
#include "llviewertexturelist.h"
|
||||||
//#include "lltoolobjpicker.h"
|
//#include "lltoolobjpicker.h"
|
||||||
@@ -271,7 +272,7 @@ void LLHoverView::updateText()
|
|||||||
line.clear();
|
line.clear();
|
||||||
if (hit_object->isAvatar())
|
if (hit_object->isAvatar())
|
||||||
{
|
{
|
||||||
if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMETAGS))
|
if (gAgentAvatarp != hit_object && gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMETAGS))
|
||||||
return; // No tag, no tip.
|
return; // No tag, no tip.
|
||||||
LLNameValue* title = hit_object->getNVPair("Title");
|
LLNameValue* title = hit_object->getNVPair("Title");
|
||||||
LLNameValue* firstname = hit_object->getNVPair("FirstName");
|
LLNameValue* firstname = hit_object->getNVPair("FirstName");
|
||||||
|
|||||||
Reference in New Issue
Block a user