From 8163448a6c328c914e5e2cb22e7d04467663a21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Wed, 15 Jan 2020 23:55:42 -0500 Subject: [PATCH] [RLVa] Always show your own hover tip --- indra/newview/llhoverview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llhoverview.cpp b/indra/newview/llhoverview.cpp index e535f5b1f..925f7a1a4 100644 --- a/indra/newview/llhoverview.cpp +++ b/indra/newview/llhoverview.cpp @@ -66,6 +66,7 @@ #include "llviewerparcelmgr.h" #include "llviewerregion.h" #include "llviewerwindow.h" +#include "llvoavatarself.h" #include "llglheaders.h" #include "llviewertexturelist.h" //#include "lltoolobjpicker.h" @@ -271,7 +272,7 @@ void LLHoverView::updateText() line.clear(); if (hit_object->isAvatar()) { - if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMETAGS)) + if (gAgentAvatarp != hit_object && gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMETAGS)) return; // No tag, no tip. LLNameValue* title = hit_object->getNVPair("Title"); LLNameValue* firstname = hit_object->getNVPair("FirstName");