diff options
author | Adam Frisby | 2007-07-15 15:53:29 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-15 15:53:29 +0000 |
commit | 813cdd0c80a645e2877e39d5b91882c95583b1ae (patch) | |
tree | b2cc0e361fb867c52478a962817a061c9f716880 /OpenSim/Region/Environment/Scenes | |
parent | * Terrain now uses the new StorageManager. (diff) | |
download | opensim-SC-813cdd0c80a645e2877e39d5b91882c95583b1ae.zip opensim-SC-813cdd0c80a645e2877e39d5b91882c95583b1ae.tar.gz opensim-SC-813cdd0c80a645e2877e39d5b91882c95583b1ae.tar.bz2 opensim-SC-813cdd0c80a645e2877e39d5b91882c95583b1ae.tar.xz |
* Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 839a75a..e370047 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -266,7 +266,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
266 | { | 266 | { |
267 | this.phyScene.SetTerrain(Terrain.getHeights1D()); | 267 | this.phyScene.SetTerrain(Terrain.getHeights1D()); |
268 | } | 268 | } |
269 | this.localStorage.SaveMap(this.Terrain.getHeights1D()); | 269 | |
270 | this.storageManager.DataStore.StoreTerrain(Terrain.getHeights2DD()); | ||
270 | 271 | ||
271 | m_clientManager.ForEachClient(delegate(IClientAPI client) | 272 | m_clientManager.ForEachClient(delegate(IClientAPI client) |
272 | { | 273 | { |
@@ -297,7 +298,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
297 | { | 298 | { |
298 | this.phyScene.SetTerrain(this.Terrain.getHeights1D()); | 299 | this.phyScene.SetTerrain(this.Terrain.getHeights1D()); |
299 | } | 300 | } |
300 | this.localStorage.SaveMap(this.Terrain.getHeights1D()); | 301 | this.storageManager.DataStore.StoreTerrain(Terrain.getHeights2DD()); |
301 | 302 | ||
302 | m_clientManager.ForEachClient(delegate(IClientAPI client) | 303 | m_clientManager.ForEachClient(delegate(IClientAPI client) |
303 | { | 304 | { |