PATH-629: Allowing viewer edits to permanent objects when in god-mode regardless of frozen mode.
parent
7a9f62ab30
commit
2d94e8e764
|
|
@ -133,6 +133,7 @@ public:
|
|||
if(tools_floater)
|
||||
{
|
||||
tools_floater->updateLandImpacts();
|
||||
tools_floater->dirty();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5294,7 +5294,7 @@ void LLViewerObject::markForUpdate(BOOL priority)
|
|||
|
||||
bool LLViewerObject::isPermanentEnforced() const
|
||||
{
|
||||
return flagObjectPermanent() && !LLPathfindingManager::getInstance()->isAllowAlterPermanent();
|
||||
return flagObjectPermanent() && !LLPathfindingManager::getInstance()->isAllowAlterPermanent() && !gAgent.isGodlike();
|
||||
}
|
||||
|
||||
bool LLViewerObject::getIncludeInSearch() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue