diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs index 3ab9020..61fee4b 100644 --- a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs | |||
@@ -74,6 +74,11 @@ namespace OpenSim.Data.Null | |||
74 | m_store.StoreTerrain(terrain, regionID); | 74 | m_store.StoreTerrain(terrain, regionID); |
75 | } | 75 | } |
76 | 76 | ||
77 | public void StoreBakedTerrain(TerrainData terrain, UUID regionID) | ||
78 | { | ||
79 | m_store.StoreBakedTerrain(terrain, regionID); | ||
80 | } | ||
81 | |||
77 | public double[,] LoadTerrain(UUID regionID) | 82 | public double[,] LoadTerrain(UUID regionID) |
78 | { | 83 | { |
79 | return m_store.LoadTerrain(regionID); | 84 | return m_store.LoadTerrain(regionID); |
@@ -170,6 +175,7 @@ namespace OpenSim.Data.Null | |||
170 | protected Dictionary<UUID, ICollection<TaskInventoryItem>> m_primItems | 175 | protected Dictionary<UUID, ICollection<TaskInventoryItem>> m_primItems |
171 | = new Dictionary<UUID, ICollection<TaskInventoryItem>>(); | 176 | = new Dictionary<UUID, ICollection<TaskInventoryItem>>(); |
172 | protected Dictionary<UUID, TerrainData> m_terrains = new Dictionary<UUID, TerrainData>(); | 177 | protected Dictionary<UUID, TerrainData> m_terrains = new Dictionary<UUID, TerrainData>(); |
178 | protected Dictionary<UUID, TerrainData> m_bakedterrains = new Dictionary<UUID, TerrainData>(); | ||
173 | protected Dictionary<UUID, LandData> m_landData = new Dictionary<UUID, LandData>(); | 179 | protected Dictionary<UUID, LandData> m_landData = new Dictionary<UUID, LandData>(); |
174 | 180 | ||
175 | public void Initialise(string dbfile) | 181 | public void Initialise(string dbfile) |
@@ -319,6 +325,11 @@ namespace OpenSim.Data.Null | |||
319 | m_terrains[regionID] = ter; | 325 | m_terrains[regionID] = ter; |
320 | } | 326 | } |
321 | 327 | ||
328 | public void StoreBakedTerrain(TerrainData ter, UUID regionID) | ||
329 | { | ||
330 | m_bakedterrains[regionID] = ter; | ||
331 | } | ||
332 | |||
322 | public void StoreTerrain(double[,] ter, UUID regionID) | 333 | public void StoreTerrain(double[,] ter, UUID regionID) |
323 | { | 334 | { |
324 | m_terrains[regionID] = new HeightmapTerrainData(ter); | 335 | m_terrains[regionID] = new HeightmapTerrainData(ter); |