mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
* Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user