[RLVa] @camavdist
This commit is contained in:
@@ -3794,6 +3794,9 @@ bool LLVOAvatar::isVisuallyMuted() const
|
||||
muted = (!show_muted && LLMuteList::getInstance()->isMuted(getID())) ||
|
||||
(mAttachmentGeometryBytes > max_attachment_bytes && max_attachment_bytes > 0) ||
|
||||
(mAttachmentSurfaceArea > max_attachment_area && max_attachment_area > 0.f) ||
|
||||
// [RLVa:LF] - RLV 2.9 camavdist
|
||||
(gRlvHandler.hasBehaviour(RLV_BHVR_CAMAVDIST) && (gAgent.getPosGlobalFromAgent(const_cast<LLVOAvatar&>(*this).getCharacterPosition()) - gAgent.getPosGlobalFromAgent(gAgentAvatarp->getRenderPosition())).magVec() > gRlvHandler.camAvDist()) ||
|
||||
// [/RLVa:LF]
|
||||
isLangolier();
|
||||
}
|
||||
return muted;
|
||||
|
||||
Reference in New Issue
Block a user