From e5d59dc696e647624047465e0e718f2c65106b3c Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Tue, 28 Jan 2014 15:29:06 -0800 Subject: Repair database routines so they properly return null when asked for the heighmap of a region that does not exist. --- OpenSim/Data/Null/NullSimulationData.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Data/Null') 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 } // Legacy. Just don't do this. + // Returns 'null' if region not found public double[,] LoadTerrain(UUID regionID) { if (m_terrains.ContainsKey(regionID)) -- cgit v1.1