diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs b/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs index 67ed0c0..c86cfb6 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs | |||
@@ -35,7 +35,6 @@ using OpenSim.Framework; | |||
35 | using OpenSim.Framework.Console; | 35 | using OpenSim.Framework.Console; |
36 | using OpenSim.Framework.Data; | 36 | using OpenSim.Framework.Data; |
37 | using OpenSim.Region.Environment.Interfaces; | 37 | using OpenSim.Region.Environment.Interfaces; |
38 | using OpenSim.Region.Environment.LandManagement; | ||
39 | using OpenSim.Region.Environment.Scenes; | 38 | using OpenSim.Region.Environment.Scenes; |
40 | using OpenSim.Framework.Data.MSSQL; | 39 | using OpenSim.Framework.Data.MSSQL; |
41 | 40 | ||
@@ -429,7 +428,7 @@ namespace OpenSim.Framework.Data.MSSQL | |||
429 | } | 428 | } |
430 | } | 429 | } |
431 | 430 | ||
432 | public void StoreLandObject(Land parcel, LLUUID regionUUID) | 431 | public void StoreLandObject(ILandObject parcel) |
433 | { | 432 | { |
434 | // Instance.StoreLandObject(parcel, regionUUID); | 433 | // Instance.StoreLandObject(parcel, regionUUID); |
435 | 434 | ||
@@ -446,12 +445,12 @@ namespace OpenSim.Framework.Data.MSSQL | |||
446 | if (landRow == null) | 445 | if (landRow == null) |
447 | { | 446 | { |
448 | landRow = land.NewRow(); | 447 | landRow = land.NewRow(); |
449 | fillLandRow(landRow, parcel.landData, regionUUID); | 448 | fillLandRow(landRow, parcel.landData, parcel.regionUUID); |
450 | land.Rows.Add(landRow); | 449 | land.Rows.Add(landRow); |
451 | } | 450 | } |
452 | else | 451 | else |
453 | { | 452 | { |
454 | fillLandRow(landRow, parcel.landData, regionUUID); | 453 | fillLandRow(landRow, parcel.landData, parcel.regionUUID); |
455 | } | 454 | } |
456 | 455 | ||
457 | using ( | 456 | using ( |