diff options
author | mingchen | 2008-03-22 23:10:22 +0000 |
---|---|---|
committer | mingchen | 2008-03-22 23:10:22 +0000 |
commit | 71ca162821ac0e5aae5f91c433b91549ae6d5419 (patch) | |
tree | fa2f13c2541075aba6807fcf95364466a785bd51 /OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs | |
parent | Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). (diff) | |
download | opensim-SC-71ca162821ac0e5aae5f91c433b91549ae6d5419.zip opensim-SC-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.gz opensim-SC-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.bz2 opensim-SC-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.xz |
*Moved LandManagement into its own region module (spiffy!)
Diffstat (limited to 'OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs')
-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 ( |