summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolbrush.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-02 11:41:13 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-02 11:41:13 -0700
commit9ccc2a0fced1a5b1e6bdef34eef07133f7754c72 (patch)
treeb9298eb9d778898eb04c5f38a6ac98b569dbbcda /indra/newview/lltoolbrush.cpp
parent931b99f24218176f981ad8c375981fbdb17b4dca (diff)
PATH-469: Checking for permission on all regions, and then checking for frozen/unfrozen mode.
Diffstat (limited to 'indra/newview/lltoolbrush.cpp')
-rw-r--r--indra/newview/lltoolbrush.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/lltoolbrush.cpp b/indra/newview/lltoolbrush.cpp
index 51cc697d7a..49ec1703d4 100644
--- a/indra/newview/lltoolbrush.cpp
+++ b/indra/newview/lltoolbrush.cpp
@@ -245,12 +245,12 @@ void LLToolBrushLand::modifyLandInSelectionGlobal()
alertNoTerraform(regionp);
return;
}
+ }
- if (!LLPathfindingManager::getInstance()->isAllowAlterPermanent())
- {
- alertNoTerraformWhileFrozen();
- return;
- }
+ if (!LLPathfindingManager::getInstance()->isAllowAlterPermanent())
+ {
+ alertNoTerraformWhileFrozen();
+ return;
}
for(region_list_t::iterator iter = mLastAffectedRegions.begin();