PATH-469: Checking for permission on all regions, and then checking for frozen/unfrozen mode.

master
Todd Stinson 2012-04-02 11:41:13 -07:00
parent 931b99f242
commit 9ccc2a0fce
1 changed files with 5 additions and 5 deletions

View File

@ -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();