diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-05-08 18:44:04 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-05-08 18:44:04 -0700 |
commit | 2d94e8e764045e499a0f6216c2f05d14ada4136b (patch) | |
tree | 08ba1afe8943ffc3d744f2441c72697e461a7212 /indra/newview/llviewerobject.cpp | |
parent | 7a9f62ab302d365238871f3bdcc251c04ad14270 (diff) |
PATH-629: Allowing viewer edits to permanent objects when in god-mode regardless of frozen mode.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 2a0e06a57d..ce9c47adc4 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -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 |