diff options
author | Justin Clark-Casey (justincc) | 2012-03-16 03:28:17 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-16 03:28:17 +0000 |
commit | 922d8c9312bedf0189bbe017f239c06ab8fff5d8 (patch) | |
tree | fcf4ae0f8f2c89c4f29930f483e6b9b757eba91b | |
parent | Improve threadpool reporting to "show threads" console command (also gets pri... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-922d8c9312bedf0189bbe017f239c06ab8fff5d8.zip opensim-SC_OLD-922d8c9312bedf0189bbe017f239c06ab8fff5d8.tar.gz opensim-SC_OLD-922d8c9312bedf0189bbe017f239c06ab8fff5d8.tar.bz2 opensim-SC_OLD-922d8c9312bedf0189bbe017f239c06ab8fff5d8.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | 11 |
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) |