mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
*Moved LandManagement into its own region module (spiffy!)
This commit is contained in:
@@ -35,7 +35,6 @@ using OpenSim.Framework;
|
||||
using OpenSim.Framework.Console;
|
||||
using OpenSim.Framework.Data;
|
||||
using OpenSim.Region.Environment.Interfaces;
|
||||
using OpenSim.Region.Environment.LandManagement;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
using OpenSim.Framework.Data.MSSQL;
|
||||
|
||||
@@ -429,7 +428,7 @@ namespace OpenSim.Framework.Data.MSSQL
|
||||
}
|
||||
}
|
||||
|
||||
public void StoreLandObject(Land parcel, LLUUID regionUUID)
|
||||
public void StoreLandObject(ILandObject parcel)
|
||||
{
|
||||
// Instance.StoreLandObject(parcel, regionUUID);
|
||||
|
||||
@@ -446,12 +445,12 @@ namespace OpenSim.Framework.Data.MSSQL
|
||||
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);
|
||||
}
|
||||
|
||||
using (
|
||||
|
||||
Reference in New Issue
Block a user