diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-04-02 11:41:13 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-04-02 11:41:13 -0700 |
commit | 9ccc2a0fced1a5b1e6bdef34eef07133f7754c72 (patch) | |
tree | b9298eb9d778898eb04c5f38a6ac98b569dbbcda | |
parent | 931b99f24218176f981ad8c375981fbdb17b4dca (diff) |
PATH-469: Checking for permission on all regions, and then checking for frozen/unfrozen mode.
-rw-r--r-- | indra/newview/lltoolbrush.cpp | 10 |
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(); |