[RLV] 2.9: @shownametags
This hides name tags and names whenever possible, except from chat.. when not possible, falls back on anonyms Changed: Radar no longer hidess based on @shownames, that's silly.. now radar hides names when @shownames Radar will alert when @shownames restricted, but not when @shownametags restricted Radar will not offer menu when @shownames or @shownametags restricted, and the IM and Profile buttons will disable. Hopefully fixed broken RLVa logic in llfloaterobjectiminfo.cpp Fix slightly broken RLVa logic code in llpanelpermissions.cpp Changed: Range Finder now disallowed when minimap disabled, show loc restriction doesn't change it anymore. Fix broken hiding of names when offering teleports; rlv_shownames param doesn't seem to always pass, work around those situations... ^-This causes some false positives, I suppose, if you offer teleport from friends list to someone in the region, but better safe than sorry.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llsdserialize.h"
|
||||
#include "llkeyboard.h"
|
||||
#include "rlvhandler.h"
|
||||
|
||||
const F32 LLVoiceClient::OVERDRIVEN_POWER_LEVEL = 0.7f;
|
||||
|
||||
@@ -526,6 +527,8 @@ void LLVoiceClient::setLipSyncEnabled(BOOL enabled)
|
||||
|
||||
BOOL LLVoiceClient::lipSyncEnabled()
|
||||
{
|
||||
if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMETAGS)) return false; // RLVa:LF - You get nothing now!
|
||||
|
||||
if (mVoiceModule)
|
||||
{
|
||||
return mVoiceModule->lipSyncEnabled();
|
||||
|
||||
Reference in New Issue
Block a user