Commits

Kelly Washington committed aff9353

MAINT-1897 Poor performance viewing large group member lists
* LLScrollListControl to use LLAvatarNameCache instead of gCacheName

Comments (0)

Files changed (1)

indra/llui/llscrolllistctrl.cpp

 #include "llboost.h"
 //#include "indra_constants.h"
 
+#include "llavatarnamecache.h"
 #include "llcheckboxctrl.h"
 #include "llclipboard.h"
 #include "llfocusmgr.h"
 	}
 	else
 	{
-		gCacheName->getFullName(LLUUID(id), name);
+		LLAvatarName av_name;
+		LLAvatarNameCache::get(LLUUID(id), &av_name);
+		name = av_name.getLegacyName();
 	}
 	LLUrlAction::copyURLToClipboard(name);
 }