From 71ca162821ac0e5aae5f91c433b91549ae6d5419 Mon Sep 17 00:00:00 2001 From: mingchen Date: Sat, 22 Mar 2008 23:10:22 +0000 Subject: *Moved LandManagement into its own region module (spiffy!) --- OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs') diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs index dc3d388..77161a4 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs @@ -34,7 +34,6 @@ using Mono.Data.SqliteClient; using OpenSim.Framework; using OpenSim.Framework.Console; using OpenSim.Region.Environment.Interfaces; -using OpenSim.Region.Environment.LandManagement; using OpenSim.Region.Environment.Scenes; namespace OpenSim.Framework.Data.SQLite @@ -477,7 +476,7 @@ namespace OpenSim.Framework.Data.SQLite } } - public void StoreLandObject(Land parcel, LLUUID regionUUID) + public void StoreLandObject(ILandObject parcel) { lock (ds) { @@ -488,12 +487,12 @@ namespace OpenSim.Framework.Data.SQLite if (landRow == null) { landRow = land.NewRow(); - fillLandRow(landRow, parcel.landData, regionUUID); + fillLandRow(landRow, parcel.landData, parcel.regionUUID); land.Rows.Add(landRow); } else { - fillLandRow(landRow, parcel.landData, regionUUID); + fillLandRow(landRow, parcel.landData, parcel.regionUUID); } // I know this caused someone issues before, but OpenSim is unusable if we leave this stuff around -- cgit v1.1