aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-01-27 20:29:06 +0000
committerJustin Clark-Casey (justincc)2011-01-27 20:36:50 +0000
commitbe3685b1a2ef8ebab25739fc5a5d632ed7359728 (patch)
treeaeb319707ad5cffedf9f9756e74e8833c3d30eb4 /OpenSim/Region/Framework
parentShow local IDs in "land show" output. (diff)
downloadopensim-SC_OLD-be3685b1a2ef8ebab25739fc5a5d632ed7359728.zip
opensim-SC_OLD-be3685b1a2ef8ebab25739fc5a5d632ed7359728.tar.gz
opensim-SC_OLD-be3685b1a2ef8ebab25739fc5a5d632ed7359728.tar.bz2
opensim-SC_OLD-be3685b1a2ef8ebab25739fc5a5d632ed7359728.tar.xz
When an oar is loaded, do not create a default parcel before loading the parcels from the OAR.
The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/ILandChannel.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ILandChannel.cs b/OpenSim/Region/Framework/Interfaces/ILandChannel.cs
index 17570c6..30bae16 100644
--- a/OpenSim/Region/Framework/Interfaces/ILandChannel.cs
+++ b/OpenSim/Region/Framework/Interfaces/ILandChannel.cs
@@ -72,7 +72,10 @@ namespace OpenSim.Region.Framework.Interfaces
72 /// <summary> 72 /// <summary>
73 /// Clear the land channel of all parcels. 73 /// Clear the land channel of all parcels.
74 /// </summary> 74 /// </summary>
75 void Clear(); 75 /// <param name="setupDefaultParcel">
76 /// If true, set up a default parcel covering the whole region owned by the estate owner.
77 /// </param>
78 void Clear(bool setupDefaultParcel);
76 79
77 bool IsLandPrimCountTainted(); 80 bool IsLandPrimCountTainted();
78 bool IsForcefulBansAllowed(); 81 bool IsForcefulBansAllowed();