From 8de395d379ba3278b2160b66dd8da7f973a2cf10 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 3 Oct 2008 09:53:49 +0000 Subject: * EventQueueGet is now working. * Switched it on by default * Updated OpenSim.ini.example to reflect this * Caught a UDP Server issue that occurs when the network pipe is saturated * Still experimental :D --- .../Region/Environment/Modules/World/WorldMap/MapSearchModule.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/World') diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/MapSearchModule.cs index 9a522ff..1a15585 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/MapSearchModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/MapSearchModule.cs @@ -83,7 +83,12 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap // TODO currently, this only returns one region per name. LL servers will return all starting with the provided name. RegionInfo info = m_scene.SceneGridService.RequestClosestRegion(mapName); // fetch the mapblock of the named sim. We need this anyway (we have the map open, and just jumped to the sim), - // so there shouldn't be any penalty for that. + // so there shouldn't be any penalty for that. + if (info == null) + { + m_log.Warn("[MAPSEARCHMODULE]: Got Null Region Question!"); + return; + } List mapBlocks = m_scene.SceneGridService.RequestNeighbourMapBlocks((int)info.RegionLocX, (int)info.RegionLocY, (int)info.RegionLocX, -- cgit v1.1