Crashfix regarding LLViewerObject using released regions. V3 cherrypick.

This commit is contained in:
Shyotl
2012-05-23 02:10:02 -05:00
parent a2649ceb5a
commit 61013dd2ab
3 changed files with 23 additions and 3 deletions

View File

@@ -1486,6 +1486,11 @@ void LLWorld::getAvatars(std::vector<LLUUID>* avatar_ids, std::vector<LLVector3d
}
}
bool LLWorld::isRegionListed(const LLViewerRegion* region) const
{
region_list_t::const_iterator it = find(mRegionList.begin(), mRegionList.end(), region);
return it != mRegionList.end();
}
LLHTTPRegistration<LLEstablishAgentCommunication>
gHTTPRegistrationEstablishAgentCommunication(