aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MSSQL
diff options
context:
space:
mode:
authormingchen2008-03-22 23:10:22 +0000
committermingchen2008-03-22 23:10:22 +0000
commit71ca162821ac0e5aae5f91c433b91549ae6d5419 (patch)
treefa2f13c2541075aba6807fcf95364466a785bd51 /OpenSim/Framework/Data.MSSQL
parentImplements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). (diff)
downloadopensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.zip
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.gz
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.bz2
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.xz
*Moved LandManagement into its own region module (spiffy!)
Diffstat (limited to 'OpenSim/Framework/Data.MSSQL')
-rw-r--r--OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs7
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;
35using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
36using OpenSim.Framework.Data; 36using OpenSim.Framework.Data;
37using OpenSim.Region.Environment.Interfaces; 37using OpenSim.Region.Environment.Interfaces;
38using OpenSim.Region.Environment.LandManagement;
39using OpenSim.Region.Environment.Scenes; 38using OpenSim.Region.Environment.Scenes;
40using OpenSim.Framework.Data.MSSQL; 39using 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 (