aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a2d553d..ff3d3af 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4334,6 +4334,16 @@ namespace OpenSim.Region.Framework.Scenes
4334 return LandChannel.GetLandObject(x, y).LandData; 4334 return LandChannel.GetLandObject(x, y).LandData;
4335 } 4335 }
4336 4336
4337 /// <summary>
4338 /// Get LandData by position.
4339 /// </summary>
4340 /// <param name="pos"></param>
4341 /// <returns></returns>
4342 public LandData GetLandData(Vector3 pos)
4343 {
4344 return GetLandData(pos.X, pos.Y);
4345 }
4346
4337 public LandData GetLandData(uint x, uint y) 4347 public LandData GetLandData(uint x, uint y)
4338 { 4348 {
4339 m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y); 4349 m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y);