aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authormingchen2007-12-16 20:34:08 +0000
committermingchen2007-12-16 20:34:08 +0000
commitbd6720b34923e8eb8b8281c413e5f7bdae093ac7 (patch)
tree813e4e87f98a9b529968aff3047933e20a81e6f2 /OpenSim/Region/Environment
parentImprove UserServer login messages for logging. (diff)
downloadopensim-SC-bd6720b34923e8eb8b8281c413e5f7bdae093ac7.zip
opensim-SC-bd6720b34923e8eb8b8281c413e5f7bdae093ac7.tar.gz
opensim-SC-bd6720b34923e8eb8b8281c413e5f7bdae093ac7.tar.bz2
opensim-SC-bd6720b34923e8eb8b8281c413e5f7bdae093ac7.tar.xz
*Access/Ban list now copies correctly to a new parcel after a subdivision occurs.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/LandManagement/Land.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs
index 791b3ea..45e8aac 100644
--- a/OpenSim/Region/Environment/LandManagement/Land.cs
+++ b/OpenSim/Region/Environment/LandManagement/Land.cs
@@ -93,6 +93,16 @@ namespace OpenSim.Region.Environment.LandManagement
93 93
94 //Place all new variables here! 94 //Place all new variables here!
95 newLand.landBitmap = (bool[,]) (landBitmap.Clone()); 95 newLand.landBitmap = (bool[,]) (landBitmap.Clone());
96 newLand.parcelAccessList.Clear();
97 foreach (ParcelManager.ParcelAccessEntry entry in parcelAccessList)
98 {
99 ParcelManager.ParcelAccessEntry newEntry = new ParcelManager.ParcelAccessEntry();
100 newEntry.AgentID = entry.AgentID;
101 newEntry.Flags = entry.Flags;
102 newEntry.Time = entry.Time;
103
104 newLand.parcelAccessList.Add(newEntry);
105 }
96 newLand.landData = landData.Copy(); 106 newLand.landData = landData.Copy();
97 107
98 return newLand; 108 return newLand;