From b9793856edd346e93c6fef6ec9d9a679855fccb0 Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Sat, 30 Jul 2016 11:57:56 +0200 Subject: [PATCH] [FIXED] Attachments can be derendered/blacklisted while RLVa is enabled --- indra/newview/fsareasearch.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/indra/newview/fsareasearch.cpp b/indra/newview/fsareasearch.cpp index c922de98bc..26e2938e21 100644 --- a/indra/newview/fsareasearch.cpp +++ b/indra/newview/fsareasearch.cpp @@ -1611,7 +1611,11 @@ bool FSPanelAreaSearchList::onContextMenuItemClick(const LLSD& userdata) { LLUUID object_id = (*item_it)->getUUID(); LLViewerObject* objectp = gObjectList.findObject(object_id); - if (objectp) +// if (objectp) +// [RLVa:KB] - Checked: RLVa-2.0.0 | FS-specific + // Don't allow derendering of own attachments when RLVa is enabled + if ( (objectp) && (gAgentID != objectp->getID()) && ((!rlv_handler_t::isEnabled()) || (!objectp->isAttachment()) || (!objectp->permYouOwner())) ) +// [/RLVa:KB] { std::string region_name; LLViewerRegion* region = objectp->getRegion();