aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Null
diff options
context:
space:
mode:
authorRobert Adams2014-01-28 15:29:06 -0800
committerRobert Adams2014-01-28 15:29:06 -0800
commite5d59dc696e647624047465e0e718f2c65106b3c (patch)
tree770acd7476569391902665c332ad7679f821a3b7 /OpenSim/Data/Null
parentMerge branch 'master' into varregion (diff)
downloadopensim-SC_OLD-e5d59dc696e647624047465e0e718f2c65106b3c.zip
opensim-SC_OLD-e5d59dc696e647624047465e0e718f2c65106b3c.tar.gz
opensim-SC_OLD-e5d59dc696e647624047465e0e718f2c65106b3c.tar.bz2
opensim-SC_OLD-e5d59dc696e647624047465e0e718f2c65106b3c.tar.xz
Repair database routines so they properly return null when asked for
the heighmap of a region that does not exist.
Diffstat (limited to 'OpenSim/Data/Null')
-rw-r--r--OpenSim/Data/Null/NullSimulationData.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Data/Null/NullSimulationData.cs b/OpenSim/Data/Null/NullSimulationData.cs
index acde1a1..deeaced 100644
--- a/OpenSim/Data/Null/NullSimulationData.cs
+++ b/OpenSim/Data/Null/NullSimulationData.cs
@@ -148,6 +148,7 @@ namespace OpenSim.Data.Null
148 } 148 }
149 149
150 // Legacy. Just don't do this. 150 // Legacy. Just don't do this.
151 // Returns 'null' if region not found
151 public double[,] LoadTerrain(UUID regionID) 152 public double[,] LoadTerrain(UUID regionID)
152 { 153 {
153 if (m_terrains.ContainsKey(regionID)) 154 if (m_terrains.ContainsKey(regionID))