aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2012-03-15 20:22:26 -0700
committerDiva Canto2012-03-15 20:24:26 -0700
commita5488650ff8b92f4d6e498b2960c68b1b4f3d81e (patch)
treeaf784396922c1b92afb24f0c55c11722df9350fc /OpenSim/Region
parentMore on SLURLs and V3. This is hacky, but it works. Basically, we have to red... (diff)
downloadopensim-SC_OLD-a5488650ff8b92f4d6e498b2960c68b1b4f3d81e.zip
opensim-SC_OLD-a5488650ff8b92f4d6e498b2960c68b1b4f3d81e.tar.gz
opensim-SC_OLD-a5488650ff8b92f4d6e498b2960c68b1b4f3d81e.tar.bz2
opensim-SC_OLD-a5488650ff8b92f4d6e498b2960c68b1b4f3d81e.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')
-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)