aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorDiva Canto2012-03-15 20:22:26 -0700
committerDiva Canto2012-03-15 20:22:26 -0700
commit05a1493fffcecb1296add194dbbf244c345c8b2f (patch)
tree57d0563be8da416d882097efd96ba1a9bfad3f1a /OpenSim/Region/CoreModules
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-05a1493fffcecb1296add194dbbf244c345c8b2f.zip
opensim-SC-05a1493fffcecb1296add194dbbf244c345c8b2f.tar.gz
opensim-SC-05a1493fffcecb1296add194dbbf244c345c8b2f.tar.bz2
opensim-SC-05a1493fffcecb1296add194dbbf244c345c8b2f.tar.xz
More on map search: send extra messages to the user regarding the region being found or not, because the UI is horribly confusing -- places profile is always "loading..." whether the region exists or not.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
index 83ec6c3..d60909c 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
@@ -159,6 +159,17 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
159 // flags are agent flags sent from the viewer. 159 // flags are agent flags sent from the viewer.
160 // they have different values depending on different viewers, apparently 160 // they have different values depending on different viewers, apparently
161 remoteClient.SendMapBlock(blocks, flags); 161 remoteClient.SendMapBlock(blocks, flags);
162
163 // send extra user messages for V3
164 // because the UI is very confusing
165 // while we don't fix the hard-coded urls
166 if (flags == 2)
167 {
168 if (regionInfos.Count == 0)
169 remoteClient.SendAgentAlertMessage("No regions found with that name.", true);
170 else if (regionInfos.Count == 1)
171 remoteClient.SendAgentAlertMessage("Region found!", false);
172 }
162 } 173 }
163 174
164// private Scene GetClientScene(IClientAPI client) 175// private Scene GetClientScene(IClientAPI client)