* Marked old terrain methods as obsolete.
* Missed an item using the old local storage.afrisby
parent
2dea3dbd6b
commit
813cdd0c80
|
@ -43,7 +43,9 @@ namespace OpenSim.Framework.Interfaces
|
|||
void RemovePrim(LLUUID primID);
|
||||
void LoadPrimitives(ILocalStorageReceiver receiver);
|
||||
|
||||
[System.Obsolete("Use DataStorage instead")]
|
||||
float[] LoadWorld();
|
||||
[System.Obsolete("Use DataStorage instead")]
|
||||
void SaveMap(float[] heightmap);
|
||||
|
||||
void SaveParcels(ParcelData[] parcels);
|
||||
|
|
|
@ -266,7 +266,8 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
this.phyScene.SetTerrain(Terrain.getHeights1D());
|
||||
}
|
||||
this.localStorage.SaveMap(this.Terrain.getHeights1D());
|
||||
|
||||
this.storageManager.DataStore.StoreTerrain(Terrain.getHeights2DD());
|
||||
|
||||
m_clientManager.ForEachClient(delegate(IClientAPI client)
|
||||
{
|
||||
|
@ -297,7 +298,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
this.phyScene.SetTerrain(this.Terrain.getHeights1D());
|
||||
}
|
||||
this.localStorage.SaveMap(this.Terrain.getHeights1D());
|
||||
this.storageManager.DataStore.StoreTerrain(Terrain.getHeights2DD());
|
||||
|
||||
m_clientManager.ForEachClient(delegate(IClientAPI client)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue