diff options
author | Justin Clark-Casey (justincc) | 2013-03-14 22:56:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-14 22:56:26 +0000 |
commit | c1115e4c2e8a35fee3287add748881f3718deba5 (patch) | |
tree | d07bd4169cecc2854a696405deefd33e06251955 /OpenSim/Region/CoreModules/World/Land/LandChannel.cs | |
parent | Fix minor race condition in llGetCameraRot() where inconsistent information c... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandChannel.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs index 7fc358d..73c592d 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs | |||
@@ -95,6 +95,11 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
95 | return null; | 95 | return null; |
96 | } | 96 | } |
97 | 97 | ||
98 | public ILandObject GetLandObject(Vector3 position) | ||
99 | { | ||
100 | return GetLandObject(position.X, position.Y); | ||
101 | } | ||
102 | |||
98 | public ILandObject GetLandObject(int x, int y) | 103 | public ILandObject GetLandObject(int x, int y) |
99 | { | 104 | { |
100 | if (m_landManagementModule != null) | 105 | if (m_landManagementModule != null) |