From 770f46157b48d19835761f0dc1ee5554fa5c5a65 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Wed, 15 Jul 2015 23:00:44 -0400 Subject: [PATCH] [Radar] Correct a flaw in which initialization of the avatar list would just be a refresh of the gui Without first populating the list, this was pretty much nothing doing, now the list will populate initially. Previously, it could be that opening and closing the radar (when not in announce even when closed mode) would yield an empty radar should the sim have been stingy or the connection been rather latent. --- indra/newview/llfloateravatarlist.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index 31205a3f8..a4b1685a7 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -411,7 +411,10 @@ BOOL LLFloaterAvatarList::postBuild() mAvatarList->setCommitCallback(boost::bind(&LLFloaterAvatarList::onSelectName,this)); mAvatarList->setDoubleClickCallback(boost::bind(&LLFloaterAvatarList::onClickFocus,this)); mAvatarList->setSortChangedCallback(boost::bind(&LLFloaterAvatarList::onAvatarSortingChanged,this)); - refreshAvatarList(); + BOOST_FOREACH(LLViewerRegion* region, LLWorld::instance().getRegionList()) + { + updateAvatarList(region); + } assessColumns();