aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs
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/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs
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 '')
-rw-r--r--OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs b/OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs
index a133e51..b4abc1d 100644
--- a/OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs
+++ b/OpenSim/Region/RegionCombinerModule/RegionCombinerLargeLandChannel.cs
@@ -68,6 +68,11 @@ public class RegionCombinerLargeLandChannel : ILandChannel
68 RootRegionLandChannel.Clear(setupDefaultParcel); 68 RootRegionLandChannel.Clear(setupDefaultParcel);
69 } 69 }
70 70
71 public ILandObject GetLandObject(Vector3 position)
72 {
73 return GetLandObject(position.X, position.Y);
74 }
75
71 public ILandObject GetLandObject(int x, int y) 76 public ILandObject GetLandObject(int x, int y)
72 { 77 {
73 //m_log.DebugFormat("[BIGLANDTESTINT]: <{0},{1}>", x, y); 78 //m_log.DebugFormat("[BIGLANDTESTINT]: <{0},{1}>", x, y);