aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 22:56:26 +0000
committerJustin Clark-Casey (justincc)2013-03-14 22:56:26 +0000
commitc1115e4c2e8a35fee3287add748881f3718deba5 (patch)
treed07bd4169cecc2854a696405deefd33e06251955 /OpenSim/Tests/Common
parentFix minor race condition in llGetCameraRot() where inconsistent information c... (diff)
downloadopensim-SC_OLD-c1115e4c2e8a35fee3287add748881f3718deba5.zip
opensim-SC_OLD-c1115e4c2e8a35fee3287add748881f3718deba5.tar.gz
opensim-SC_OLD-c1115e4c2e8a35fee3287add748881f3718deba5.tar.bz2
opensim-SC_OLD-c1115e4c2e8a35fee3287add748881f3718deba5.tar.xz
Add ILandChannel.GetLandObject(Vector3 position) as this is a very common input to GetLandObject()
This conforms to the existing ILandChannel.ParcelsNearPoint() method
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Mock/TestLandChannel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestLandChannel.cs b/OpenSim/Tests/Common/Mock/TestLandChannel.cs
index 4b4d52d..3115035 100644
--- a/OpenSim/Tests/Common/Mock/TestLandChannel.cs
+++ b/OpenSim/Tests/Common/Mock/TestLandChannel.cs
@@ -81,6 +81,11 @@ namespace OpenSim.Tests.Common.Mock
81 return obj; 81 return obj;
82 } 82 }
83 83
84 public ILandObject GetLandObject(Vector3 position)
85 {
86 return GetLandObject(position.X, position.Y);
87 }
88
84 public ILandObject GetLandObject(int x, int y) 89 public ILandObject GetLandObject(int x, int y)
85 { 90 {
86 return GetNoLand(); 91 return GetNoLand();