Merge remote-tracking branch 'LL/project/gltf_development'
# Conflicts: # .gitattributesmaster
commit
08fc84e165
|
|
@ -33,3 +33,6 @@ FILES_ARE_UNICODE_UTF-16LE.txt text eol=crlf
|
|||
|
||||
# Windows Manifest files
|
||||
*.manifest text eol=crlf
|
||||
|
||||
# Windows Installer Script files (normalization disabled)
|
||||
*.nsi -text
|
||||
|
|
|
|||
|
|
@ -12948,7 +12948,7 @@ Change of this parameter will affect the layout of buttons in notification toast
|
|||
<key>Comment</key>
|
||||
<string>0 - complexity limit applies to everyone, 1 - always show friends, 2 - only show friends</string>
|
||||
<key>Persist</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>S32</string>
|
||||
<key>Value</key>
|
||||
|
|
|
|||
|
|
@ -9018,9 +9018,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