aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
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/Tests
parentShow local IDs in "land show" output. (diff)
downloadopensim-SC-be3685b1a2ef8ebab25739fc5a5d632ed7359728.zip
opensim-SC-be3685b1a2ef8ebab25739fc5a5d632ed7359728.tar.gz
opensim-SC-be3685b1a2ef8ebab25739fc5a5d632ed7359728.tar.bz2
opensim-SC-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/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestLandChannel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestLandChannel.cs b/OpenSim/Tests/Common/Mock/TestLandChannel.cs
index 366af67..c3134b3 100644
--- a/OpenSim/Tests/Common/Mock/TestLandChannel.cs
+++ b/OpenSim/Tests/Common/Mock/TestLandChannel.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Tests.Common.Mock
56 return new List<ILandObject>(); 56 return new List<ILandObject>();
57 } 57 }
58 58
59 public void Clear() 59 public void Clear(bool setupDefaultParcel)
60 { 60 {
61 // Intentionally blank since we don't save any parcel data in the test channel 61 // Intentionally blank since we don't save any parcel data in the test channel
62 } 62 }