aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-02 00:52:48 +0100
committerJustin Clark-Casey (justincc)2011-08-02 00:52:48 +0100
commit17e9d61f4383627434b7b8249cea1a487f001099 (patch)
treedb497607c82b32e8567f1a5ff36ca85250c3a225 /OpenSim/Services/Interfaces
parentRevert "In GridService, have GetRegionByName() call GetRegionsByName() with a... (diff)
downloadopensim-SC_OLD-17e9d61f4383627434b7b8249cea1a487f001099.zip
opensim-SC_OLD-17e9d61f4383627434b7b8249cea1a487f001099.tar.gz
opensim-SC_OLD-17e9d61f4383627434b7b8249cea1a487f001099.tar.bz2
opensim-SC_OLD-17e9d61f4383627434b7b8249cea1a487f001099.tar.xz
Change GridService.GetRegionByName() to only return info if there is an exact region name match, unlike GetRegionsByName()
This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605. Thanks to Melanie for helping with this.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index a34f0be..41dd20c 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -71,6 +71,12 @@ namespace OpenSim.Services.Interfaces
71 /// <returns></returns> 71 /// <returns></returns>
72 GridRegion GetRegionByPosition(UUID scopeID, int x, int y); 72 GridRegion GetRegionByPosition(UUID scopeID, int x, int y);
73 73
74 /// <summary>
75 /// Get information about a region which exactly matches the name given.
76 /// </summary>
77 /// <param name="scopeID"></param>
78 /// <param name="regionName"></param>
79 /// <returns>Returns the region information if the name matched. Null otherwise.</returns>
74 GridRegion GetRegionByName(UUID scopeID, string regionName); 80 GridRegion GetRegionByName(UUID scopeID, string regionName);
75 81
76 /// <summary> 82 /// <summary>