From 81587466e72cfb989c0cb3fa74ae5ff6e7f861bb Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 6 Jan 2011 12:53:54 -0800 Subject: Map search: changed the flag sent to the client. It was 2 (???), now it's 0. This makes HG map tiles work on map search -- a longstanding annoyance. My map search tests were all ok, but since I don't understand these flag values, this may break something related to map search. --- OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs index bdd1a0b..cc28a5b 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs @@ -102,7 +102,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap GridRegion info = m_scene.GridService.GetRegionByName(m_scene.RegionInfo.ScopeID, mapName); if (info != null) regionInfos.Add(info); } - + m_log.DebugFormat("[MAPSEARCHMODULE]: search returned {0} regions", regionInfos.Count); List blocks = new List(); MapBlockData data; @@ -128,14 +128,14 @@ namespace OpenSim.Region.CoreModules.World.WorldMap data.Agents = 0; data.Access = 255; data.MapImageId = UUID.Zero; - data.Name = mapName; + data.Name = ""; // mapName; data.RegionFlags = 0; data.WaterHeight = 0; // not used data.X = 0; data.Y = 0; blocks.Add(data); - remoteClient.SendMapBlock(blocks, 2); + remoteClient.SendMapBlock(blocks, 0); } // private Scene GetClientScene(IClientAPI client) -- cgit v1.1