Feature Request: Add the ability to see count of avatars in regions on the map without needing to hover

Adds LiruMapShowAvCount, which must be set true for this to work.
This commit is contained in:
Lirusaito
2013-07-17 13:49:05 -04:00
parent 52544f020e
commit baef50e451
2 changed files with 15 additions and 0 deletions

View File

@@ -509,6 +509,10 @@ void LLWorldMapView::draw()
else if(!info->getName().empty()) // Online sims should have names...
{
mesg = info->getName();
static const LLCachedControl<bool> show_avs("LiruMapShowAvCount");
if (show_avs) mesg += llformat(" (%d)", info->getAgentCount());
U8 access = info->getAccess();
switch(access)
{