diff options
author | Brad Linden <brad@lindenlab.com> | 2024-10-15 10:45:05 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-10-15 10:45:05 -0700 |
commit | cd712960f316496b29c53dce390dd778ad9d27f4 (patch) | |
tree | 1db0dd051cd4bd8ef356983139bb21132213e73c /indra/newview/llpanelgrouproles.cpp | |
parent | 4b0fa1e3d1567ea9616fd9430cf5cb91c7825133 (diff) | |
parent | 86f7e0d75ec1bb74793bbdaea82a2f02264b04a0 (diff) |
Merge remote-tracking branch 'origin/release/2024.09-ExtraFPS' into develop
Diffstat (limited to 'indra/newview/llpanelgrouproles.cpp')
-rw-r--r-- | indra/newview/llpanelgrouproles.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 4404efff98..e1f2d7588c 100644 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -1360,7 +1360,8 @@ void LLPanelGroupMembersSubTab::activate() { if (!gdatap || !gdatap->isMemberDataComplete()) { - const U32 page_size = 50; + static LLCachedControl<bool> enable_pagination(gSavedSettings, "UseGroupMemberPagination", false); + const U32 page_size = enable_pagination() ? 50 : 0; std::string sort_column_name = mMembersList->getSortColumnName(); bool sort_descending = !mMembersList->getSortAscending(); LLGroupMgr::getInstance()->sendCapGroupMembersRequest(mGroupID, page_size, 0, sort_column_name, sort_descending); |