*Access/Ban list now copies correctly to a new parcel after a subdivision occurs.
parent
0eec2ad030
commit
bd6720b349
|
@ -93,6 +93,16 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||||
|
|
||||||
//Place all new variables here!
|
//Place all new variables here!
|
||||||
newLand.landBitmap = (bool[,]) (landBitmap.Clone());
|
newLand.landBitmap = (bool[,]) (landBitmap.Clone());
|
||||||
|
newLand.parcelAccessList.Clear();
|
||||||
|
foreach (ParcelManager.ParcelAccessEntry entry in parcelAccessList)
|
||||||
|
{
|
||||||
|
ParcelManager.ParcelAccessEntry newEntry = new ParcelManager.ParcelAccessEntry();
|
||||||
|
newEntry.AgentID = entry.AgentID;
|
||||||
|
newEntry.Flags = entry.Flags;
|
||||||
|
newEntry.Time = entry.Time;
|
||||||
|
|
||||||
|
newLand.parcelAccessList.Add(newEntry);
|
||||||
|
}
|
||||||
newLand.landData = landData.Copy();
|
newLand.landData = landData.Copy();
|
||||||
|
|
||||||
return newLand;
|
return newLand;
|
||||||
|
|
Loading…
Reference in New Issue