Implemented basic 'awareness' of objects flagged as permanent.

This commit is contained in:
Shyotl
2012-08-04 20:46:51 -05:00
parent aca3e8f6c4
commit b847c53395
18 changed files with 605 additions and 96 deletions

View File

@@ -5450,6 +5450,11 @@ void LLViewerObject::markForUpdate(BOOL priority)
}
}
bool LLViewerObject::isPermanentEnforced() const
{
return flagObjectPermanent() && (mRegionp != gAgent.getRegion()) && !gAgent.isGodlike();
}
bool LLViewerObject::getIncludeInSearch() const
{
return flagIncludeInSearch();