* Marked old terrain methods as obsolete.

* Missed an item using the old local storage.
afrisby
Adam Frisby 2007-07-15 15:53:29 +00:00
parent 2dea3dbd6b
commit 813cdd0c80
2 changed files with 5 additions and 2 deletions

View File

@ -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);

View File

@ -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)
{