From a12a495c22817f901792fd9e11c2a4b4a5c628a8 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 7 Jun 2007 00:04:50 +0000 Subject: *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 --- OpenSim/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'OpenSim/OpenSim.Storage/LocalStorageDb4o') 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 updateParcel.groupID = parcel.groupID; updateParcel.groupPrims = parcel.groupPrims; updateParcel.isGroupOwned = parcel.isGroupOwned; + updateParcel.landingType = parcel.landingType; + updateParcel.mediaAutoScale = parcel.mediaAutoScale; + updateParcel.mediaID = parcel.mediaID; + updateParcel.mediaURL = parcel.mediaURL; + updateParcel.musicURL = parcel.musicURL; updateParcel.localID = parcel.localID; updateParcel.ownerID = parcel.ownerID; + updateParcel.passHours = parcel.passHours; + updateParcel.passPrice = parcel.passPrice; updateParcel.parcelBitmapByteArray = (byte[])parcel.parcelBitmapByteArray.Clone(); updateParcel.parcelDesc = parcel.parcelDesc; updateParcel.parcelFlags = parcel.parcelFlags; updateParcel.parcelName = parcel.parcelName; updateParcel.parcelStatus = parcel.parcelStatus; updateParcel.salePrice = parcel.salePrice; - + updateParcel.snapshotID = parcel.snapshotID; + updateParcel.userLocation = parcel.userLocation; + updateParcel.userLookAt = parcel.userLookAt; + db.Set(updateParcel); } else -- cgit v1.1