aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land
diff options
context:
space:
mode:
authorMelanie2011-01-28 02:34:45 +0000
committerMelanie2011-01-28 02:34:45 +0000
commit80bf95b7b4ccdbe3a28e9f8ee8764843a3ad46e5 (patch)
tree3ec33fe5a21dbbb2d2eb4a6cb72d18c426a672f7 /OpenSim/Region/CoreModules/World/Land
parentThank you, Goetz, for a patch to fix prim count display in cut regions. (diff)
parentRefactor: Break out LoadObjects() and LoadParcels() from a longer method (diff)
downloadopensim-SC-80bf95b7b4ccdbe3a28e9f8ee8764843a3ad46e5.zip
opensim-SC-80bf95b7b4ccdbe3a28e9f8ee8764843a3ad46e5.tar.gz
opensim-SC-80bf95b7b4ccdbe3a28e9f8ee8764843a3ad46e5.tar.bz2
opensim-SC-80bf95b7b4ccdbe3a28e9f8ee8764843a3ad46e5.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 893e35c..98ba8c3 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1653,9 +1653,21 @@ namespace OpenSim.Region.CoreModules.World.Land
1653 1653
1654 protected void ClearCommand(Object[] args) 1654 protected void ClearCommand(Object[] args)
1655 { 1655 {
1656 Clear(true); 1656 string response = MainConsole.Instance.CmdPrompt(
1657 string.Format(
1658 "Are you sure that you want to clear all land parcels from {0} (y or n)",
1659 m_scene.RegionInfo.RegionName),
1660 "n");
1657 1661
1658 MainConsole.Instance.OutputFormat("Cleared all parcels from {0}", m_scene.RegionInfo.RegionName); 1662 if (response.ToLower() == "y")
1663 {
1664 Clear(true);
1665 MainConsole.Instance.OutputFormat("Cleared all parcels from {0}", m_scene.RegionInfo.RegionName);
1666 }
1667 else
1668 {
1669 MainConsole.Instance.OutputFormat("Aborting clear of all parcels from {0}", m_scene.RegionInfo.RegionName);
1670 }
1659 } 1671 }
1660 1672
1661 protected void ShowParcelsCommand(Object[] args) 1673 protected void ShowParcelsCommand(Object[] args)