diff options
author | Diva Canto | 2011-05-09 10:25:42 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-09 10:25:42 -0700 |
commit | 8a5f6dc7a534fcdcfc877a6eac2553b18532e760 (patch) | |
tree | 2c7e174769b0ca1f60102976a422747e13a29121 /OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |
parent | The map is seriously broken. This doesn't fix it, but at least provides one m... (diff) | |
download | opensim-SC_OLD-8a5f6dc7a534fcdcfc877a6eac2553b18532e760.zip opensim-SC_OLD-8a5f6dc7a534fcdcfc877a6eac2553b18532e760.tar.gz opensim-SC_OLD-8a5f6dc7a534fcdcfc877a6eac2553b18532e760.tar.bz2 opensim-SC_OLD-8a5f6dc7a534fcdcfc877a6eac2553b18532e760.tar.xz |
Fixes gray tiles on map search for viewers 1.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 1094970..8073f2d 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -205,8 +205,8 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
205 | { | 205 | { |
206 | //try | 206 | //try |
207 | //{ | 207 | //{ |
208 | //m_log.DebugFormat("[MAPLAYER]: request: {0}, path: {1}, param: {2}, agent:{3}", | 208 | //m_log.DebugFormat("[MAPLAYER]: path: {0}, param: {1}, agent:{2}", |
209 | //request, path, param,agentID.ToString()); | 209 | // path, param, agentID.ToString()); |
210 | 210 | ||
211 | // this is here because CAPS map requests work even beyond the 10,000 limit. | 211 | // this is here because CAPS map requests work even beyond the 10,000 limit. |
212 | ScenePresence avatarPresence = null; | 212 | ScenePresence avatarPresence = null; |
@@ -784,7 +784,8 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
784 | /// <param name="maxY"></param> | 784 | /// <param name="maxY"></param> |
785 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag) | 785 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag) |
786 | { | 786 | { |
787 | if ((flag & 0x10000) != 0) // user clicked on the map a tile that isn't visible | 787 | //m_log.ErrorFormat("[YYY] RequestMapBlocks {0}={1}={2}={3} {4}", minX, minY, maxX, maxY, flag); |
788 | if ((flag & 0x10000) != 0) // user clicked on qthe map a tile that isn't visible | ||
788 | { | 789 | { |
789 | List<MapBlockData> response = new List<MapBlockData>(); | 790 | List<MapBlockData> response = new List<MapBlockData>(); |
790 | 791 | ||