aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Storage
diff options
context:
space:
mode:
authormingchen2007-06-07 00:04:50 +0000
committermingchen2007-06-07 00:04:50 +0000
commita12a495c22817f901792fd9e11c2a4b4a5c628a8 (patch)
tree55d710d872da255036d3003b58e85efa2706be87 /OpenSim/OpenSim.Storage
parentIf this is what it takes, then fine (diff)
downloadopensim-SC_OLD-a12a495c22817f901792fd9e11c2a4b4a5c628a8.zip
opensim-SC_OLD-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.gz
opensim-SC_OLD-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.bz2
opensim-SC_OLD-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.xz
*Added support to change most of a parcel's settings and flags (from the about land box)
*Added the rest of the member variables relating to parcels in the ParcelData class
Diffstat (limited to 'OpenSim/OpenSim.Storage')
-rw-r--r--OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs b/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
index d7b9f38..46fecd0 100644
--- a/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
+++ b/OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
@@ -179,15 +179,25 @@ namespace OpenSim.Storage.LocalStorageDb4o
179 updateParcel.groupID = parcel.groupID; 179 updateParcel.groupID = parcel.groupID;
180 updateParcel.groupPrims = parcel.groupPrims; 180 updateParcel.groupPrims = parcel.groupPrims;
181 updateParcel.isGroupOwned = parcel.isGroupOwned; 181 updateParcel.isGroupOwned = parcel.isGroupOwned;
182 updateParcel.landingType = parcel.landingType;
183 updateParcel.mediaAutoScale = parcel.mediaAutoScale;
184 updateParcel.mediaID = parcel.mediaID;
185 updateParcel.mediaURL = parcel.mediaURL;
186 updateParcel.musicURL = parcel.musicURL;
182 updateParcel.localID = parcel.localID; 187 updateParcel.localID = parcel.localID;
183 updateParcel.ownerID = parcel.ownerID; 188 updateParcel.ownerID = parcel.ownerID;
189 updateParcel.passHours = parcel.passHours;
190 updateParcel.passPrice = parcel.passPrice;
184 updateParcel.parcelBitmapByteArray = (byte[])parcel.parcelBitmapByteArray.Clone(); 191 updateParcel.parcelBitmapByteArray = (byte[])parcel.parcelBitmapByteArray.Clone();
185 updateParcel.parcelDesc = parcel.parcelDesc; 192 updateParcel.parcelDesc = parcel.parcelDesc;
186 updateParcel.parcelFlags = parcel.parcelFlags; 193 updateParcel.parcelFlags = parcel.parcelFlags;
187 updateParcel.parcelName = parcel.parcelName; 194 updateParcel.parcelName = parcel.parcelName;
188 updateParcel.parcelStatus = parcel.parcelStatus; 195 updateParcel.parcelStatus = parcel.parcelStatus;
189 updateParcel.salePrice = parcel.salePrice; 196 updateParcel.salePrice = parcel.salePrice;
190 197 updateParcel.snapshotID = parcel.snapshotID;
198 updateParcel.userLocation = parcel.userLocation;
199 updateParcel.userLookAt = parcel.userLookAt;
200
191 db.Set(updateParcel); 201 db.Set(updateParcel);
192 } 202 }
193 else 203 else