mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
a few changes
This commit is contained in:
@@ -141,7 +141,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
if (mapName.Length < 3 || (mapName.EndsWith("#") && mapName.Length < 4))
|
||||
{
|
||||
// final block, closing the search result
|
||||
AddFinalBlock(blocks,mapName);
|
||||
AddFinalBlock(blocks, mapName);
|
||||
|
||||
// flags are agent flags sent from the viewer.
|
||||
// they have different values depending on different viewers, apparently
|
||||
@@ -171,14 +171,14 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
MapBlockData block = new MapBlockData();
|
||||
WorldMap.MapBlockFromGridRegion(block, info, flags);
|
||||
|
||||
if (flags == 2 && regionInfos.Count == 1 && needOriginalName)
|
||||
block.Name = mapNameOrig;
|
||||
if (needOriginalName && flags == 2 && regionInfos.Count == 1)
|
||||
block.Name = mapNameOrig;
|
||||
blocks.Add(block);
|
||||
}
|
||||
}
|
||||
|
||||
// final block, closing the search result
|
||||
AddFinalBlock(blocks,mapNameOrig);
|
||||
AddFinalBlock(blocks, mapNameOrig);
|
||||
|
||||
// flags are agent flags sent from the viewer.
|
||||
// they have different values depending on different viewers, apparently
|
||||
|
||||
Reference in New Issue
Block a user