aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-25 13:37:43 +0000
committerJustin Clarke Casey2008-04-25 13:37:43 +0000
commit46c8d7a5e10433dfb47ccec9da3fb86ddb0bb08d (patch)
tree0252cdf27f3199a1c86ab24b388ecb362f149962 /OpenSim/Region/Communications/Local/LocalBackEndServices.cs
parent* Fixes the object pay box to default to -2,-2,-2,-2,-2. Fixes mantis 1045. (diff)
downloadopensim-SC_OLD-46c8d7a5e10433dfb47ccec9da3fb86ddb0bb08d.zip
opensim-SC_OLD-46c8d7a5e10433dfb47ccec9da3fb86ddb0bb08d.tar.gz
opensim-SC_OLD-46c8d7a5e10433dfb47ccec9da3fb86ddb0bb08d.tar.bz2
opensim-SC_OLD-46c8d7a5e10433dfb47ccec9da3fb86ddb0bb08d.tar.xz
From: Dr Scofield <hud@zurich.ibm.com>
the patch below adds support for start_location = uri:region&x&y&z to OpenSim which allows us to provide -url secondlife:///region/X/Y/Z to the SecondLife client during start up --- which will take you directly to region "region" at position X, Y, Z. also, i did increase the default Z value from 70 to 128 as we otherwise have the problem that on some regions we'd end up inside a mountain instead of on top of it.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalBackEndServices.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index 2960a62..c48292a 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -180,7 +180,10 @@ namespace OpenSim.Region.Communications.Local
180 180
181 public RegionInfo RequestClosestRegion(string regionName) 181 public RegionInfo RequestClosestRegion(string regionName)
182 { 182 {
183 // Don't use this method. It's only for SLURLS and Logins 183 foreach(RegionInfo regInfo in m_regions.Values)
184 {
185 if (regInfo.RegionName == regionName) return regInfo;
186 }
184 return null; 187 return null;
185 } 188 }
186 189