diff --git a/.hgtags b/.hgtags index aafef90095..de97662e66 100644 --- a/.hgtags +++ b/.hgtags @@ -363,3 +363,4 @@ b2f21e3442542283a80e7eaebae9f833e5a927b6 DRTVWR-237 b6b68f3c2c6dd04ad88bd0575aad67bf87a9c108 3.4.1-beta12 b6b68f3c2c6dd04ad88bd0575aad67bf87a9c108 3.4.1-beta12 3f9be82de642d468c5fc272cb9d96b46b5498402 3.4.1-beta12 +674db463770b78f836fc9c87a1b2235e212a576c RLVa-1.4.7 diff --git a/indra/newview/lltoolselect.cpp b/indra/newview/lltoolselect.cpp index 63cd8aa5a4..37d0a03f44 100644 --- a/indra/newview/lltoolselect.cpp +++ b/indra/newview/lltoolselect.cpp @@ -84,7 +84,7 @@ LLObjectSelectionHandle LLToolSelect::handleObjectSelection(const LLPickInfo& pi } // [RLVa:KB] - Checked: 2010-11-29 (RLVa-1.3.0c) | Modified: RLVa-1.3.0c - if (rlv_handler_t::isEnabled()) + if ( (object) && (rlv_handler_t::isEnabled()) ) { if (!gRlvHandler.canEdit(object)) { @@ -94,7 +94,7 @@ LLObjectSelectionHandle LLToolSelect::handleObjectSelection(const LLPickInfo& pi LLToolMgr::instance().toggleBuildMode(); } - if ( (gRlvHandler.hasBehaviour(RLV_BHVR_FARTOUCH)) && (object) && ((!object->isAttachment()) || (!object->permYouOwner())) && + if ( (gRlvHandler.hasBehaviour(RLV_BHVR_FARTOUCH)) && ((!object->isAttachment()) || (!object->permYouOwner())) && (dist_vec_squared(gAgent.getPositionAgent(), object->getPositionRegion()) > 1.5f * 1.5f) ) { // NOTE: see behaviour notes for a rather lengthy explanation of why we're doing things this way diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp index 402d7eddcc..d7ac6396dd 100644 --- a/indra/newview/rlvhelper.cpp +++ b/indra/newview/rlvhelper.cpp @@ -1091,7 +1091,7 @@ void RlvBehaviourNotifyHandler::sendNotification(const std::string& strText, con for (std::multimap::const_iterator itNotify = pThis->m_Notifications.begin(); itNotify != pThis->m_Notifications.end(); ++itNotify) { - if ( (itNotify->second.strFilter.empty()) || (std::string::npos != strText.find(itNotify->second.strFilter)) ) + if ( (itNotify->second.strFilter.empty()) || (boost::icontains(strText, itNotify->second.strFilter)) ) RlvUtil::sendChatReply(itNotify->second.nChannel, "/" + strText + strSuffix); } } diff --git a/indra/newview/skins/default/xui/en/floater_rlv_behaviours.xml b/indra/newview/skins/default/xui/en/floater_rlv_behaviours.xml index e79b88af10..fb373ce5b3 100644 --- a/indra/newview/skins/default/xui/en/floater_rlv_behaviours.xml +++ b/indra/newview/skins/default/xui/en/floater_rlv_behaviours.xml @@ -1,121 +1,98 @@ - + title="ACTIVE RLV RESTRICTIONS" + width="300"> - + top="0" > + - - + draw_border="false" + draw_heading="true" + draw_stripes="true" + follows="all" + height="266" + layout="topleft" + multi_select="false" + name="behaviour_list" + tool_tip="List of current RLVa restrictions." + top_pad="0" > + + - + - - - + draw_border="false" + draw_heading="true" + draw_stripes="true" + follows="all" + height="266" + layout="topleft" + multi_select="false" + name="exception_list" + tool_tip="List of current RLVa exceptions." + top_pad="0" > + + + + top_pad="0">