[Radar] Reroute some code, optimize silly stuff away.

No more dead state, death is instant when you disappear
No more dependency on frame or life time, updates come from the sims.
No need to rate control anymore, ui removed.

RIP: My headphones, you were shortlived, but you served my ears well.
This commit is contained in:
Inusaito Sayori
2015-06-25 02:57:48 -04:00
parent fdab6d0efb
commit b3b2da1428
9 changed files with 44 additions and 182 deletions

View File

@@ -559,12 +559,9 @@ LLUUID cmdline_partial_name2key(std::string partial_name)
std::string av_name;
LLStringUtil::toLower(partial_name);
LLWorld::getInstance()->getAvatars(&avatars);
bool has_avatarlist = LLFloaterAvatarList::instanceExists();
if (has_avatarlist)
LLFloaterAvatarList::getInstance()->updateAvatarList();
for(std::vector<LLUUID>::const_iterator i = avatars.begin(); i != avatars.end(); ++i)
{
if (LLAvatarListEntry* entry = has_avatarlist ? LLFloaterAvatarList::instance().getAvatarEntry(*i) : NULL)
if (LLAvatarListEntry* entry = LLFloaterAvatarList::instanceExists() ? LLFloaterAvatarList::instance().getAvatarEntry(*i) : NULL)
av_name = entry->getName();
else if (gCacheName->getFullName(*i, av_name));
else if (LLVOAvatar* avatarp = gObjectList.findAvatar(*i))