[Radar] Fix up expireAvatarList to actually expire all the dead avatar entries, not just the back one.
This commit is contained in:
@@ -617,15 +617,7 @@ void LLFloaterAvatarList::expireAvatarList()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
entry->setPosition(entry->getPosition(), false, false, false, false); // Dead and gone
|
entry->setPosition(entry->getPosition(), false, false, false, false); // Dead and gone
|
||||||
if(mAvatars.back() == *it)
|
mAvatars.erase(it);
|
||||||
{
|
|
||||||
mAvatars.pop_back();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
*it = mAvatars.back();
|
|
||||||
mAvatars.pop_back();
|
|
||||||
if(mAvatars.empty())
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user