diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index aee4f4730..19d054606 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -12685,11 +12685,11 @@ This should be as low as possible, but too low may break functionality AlwaysRenderFriends Comment - Always render friends regardless of max complexity + Always render friends regardless of max complexity, a value of 2 will only render friends Persist 1 Type - Boolean + S32 Value 0 diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 26f136549..49771ff67 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -8628,12 +8628,16 @@ BOOL LLVOAvatar::isFullyLoaded() const bool LLVOAvatar::isTooComplex() const { - static const LLCachedControl always_render_friends("AlwaysRenderFriends", true); + static const LLCachedControl always_render_friends("AlwaysRenderFriends", 0); bool too_complex; if (isSelf() || (always_render_friends && LLAvatarTracker::instance().isBuddy(getID()))) { too_complex = false; } + else if (always_render_friends == 2) + { + too_complex = true; + } else { // Determine if visually muted or not