Implemented basic 'awareness' of objects flagged as permanent.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user