summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-12-14 14:33:42 -0800
committerRider Linden <rider@lindenlab.com>2018-12-14 14:33:42 -0800
commit634910f685057c50ae3233d9f71d4b21cf958749 (patch)
tree9ffcc134839c9ffe275db1a584345362e4849cf0 /indra/newview/llenvironment.cpp
parent56d9d204f76978bf1373e15c84649a87d40dd16d (diff)
SL-10241: Group roll for changing environment.
Diffstat (limited to 'indra/newview/llenvironment.cpp')
-rw-r--r--indra/newview/llenvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp
index 27b4789dfd..a8a386edee 100644
--- a/indra/newview/llenvironment.cpp
+++ b/indra/newview/llenvironment.cpp
@@ -495,7 +495,7 @@ bool LLEnvironment::canAgentUpdateParcelEnvironment(LLParcel *parcel) const
if (!parcel->getRegionAllowEnvironmentOverride())
return false;
- return LLViewerParcelMgr::isParcelModifiableByAgent(parcel, GP_LAND_OPTIONS);
+ return LLViewerParcelMgr::isParcelModifiableByAgent(parcel, GP_LAND_ALLOW_ENVIRONMENT);
}
bool LLEnvironment::canAgentUpdateRegionEnvironment() const