aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-02-12 01:14:12 +0000
committerJustin Clark-Casey (justincc)2011-02-12 01:14:12 +0000
commit9801bf03f8ab59e1fe8d439a216ca48a5bd68dc7 (patch)
treeda83e3299f96f0f6975aa87ce655beed69f9fa58 /OpenSim/Region/ScriptEngine/Shared
parentFix bug where "My estate" name was always used even if the user entered a dif... (diff)
downloadopensim-SC_OLD-9801bf03f8ab59e1fe8d439a216ca48a5bd68dc7.zip
opensim-SC_OLD-9801bf03f8ab59e1fe8d439a216ca48a5bd68dc7.tar.gz
opensim-SC_OLD-9801bf03f8ab59e1fe8d439a216ca48a5bd68dc7.tar.bz2
opensim-SC_OLD-9801bf03f8ab59e1fe8d439a216ca48a5bd68dc7.tar.xz
minor: add comment explaining that GetRegionsByName needs to stay in TeleportAgent for its side effects.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 3f8735e..688dfe4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -702,6 +702,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
702 // and convert the regionName to the target region 702 // and convert the regionName to the target region
703 if (regionName.Contains(".") && regionName.Contains(":")) 703 if (regionName.Contains(".") && regionName.Contains(":"))
704 { 704 {
705 // Even though we use none of the results, we need to perform this call because it appears
706 // to have some the side effect of setting up hypergrid teleport locations.
705 World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1); 707 World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
706// List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1); 708// List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
707 709