aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs7
1 files changed, 3 insertions, 4 deletions
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;
34using OpenSim.Framework; 34using OpenSim.Framework;
35using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
36using OpenSim.Region.Environment.Interfaces; 36using OpenSim.Region.Environment.Interfaces;
37using OpenSim.Region.Environment.LandManagement;
38using OpenSim.Region.Environment.Scenes; 37using OpenSim.Region.Environment.Scenes;
39 38
40namespace OpenSim.Framework.Data.SQLite 39namespace OpenSim.Framework.Data.SQLite
@@ -477,7 +476,7 @@ namespace OpenSim.Framework.Data.SQLite
477 } 476 }
478 } 477 }
479 478
480 public void StoreLandObject(Land parcel, LLUUID regionUUID) 479 public void StoreLandObject(ILandObject parcel)
481 { 480 {
482 lock (ds) 481 lock (ds)
483 { 482 {
@@ -488,12 +487,12 @@ namespace OpenSim.Framework.Data.SQLite
488 if (landRow == null) 487 if (landRow == null)
489 { 488 {
490 landRow = land.NewRow(); 489 landRow = land.NewRow();
491 fillLandRow(landRow, parcel.landData, regionUUID); 490 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
492 land.Rows.Add(landRow); 491 land.Rows.Add(landRow);
493 } 492 }
494 else 493 else
495 { 494 {
496 fillLandRow(landRow, parcel.landData, regionUUID); 495 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
497 } 496 }
498 497
499 // I know this caused someone issues before, but OpenSim is unusable if we leave this stuff around 498 // I know this caused someone issues before, but OpenSim is unusable if we leave this stuff around