triage#59 Cover cases where some attachments stayed visible
parent
bf7e46ec26
commit
3c00b5f751
|
|
@ -8091,9 +8091,11 @@ bool LLVOAvatar::shouldRenderRigged() const
|
|||
// Maybe better naming could make this clearer?
|
||||
bool LLVOAvatar::isVisible() const
|
||||
{
|
||||
static LLCachedControl<bool> friends_only(gSavedSettings, "RenderAvatarFriendsOnly", false);
|
||||
return mDrawable.notNull()
|
||||
&& (!mOrphaned || isSelf())
|
||||
&& (mDrawable->isVisible() || mIsDummy);
|
||||
&& (mDrawable->isVisible() || mIsDummy)
|
||||
&& (!friends_only() || isUIAvatar() || isSelf() || isControlAvatar() || isBuddy());
|
||||
}
|
||||
|
||||
// Determine if we have enough avatar data to render
|
||||
|
|
|
|||
Loading…
Reference in New Issue