PATH-469: Checking for permission on all regions, and then checking for frozen/unfrozen mode.
parent
931b99f242
commit
9ccc2a0fce
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue