aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-06 20:44:31 +0000
committerJustin Clarke Casey2009-03-06 20:44:31 +0000
commitf12619b78665a6f6b148c870d36b528428cf78b4 (patch)
treea34dd0b82497fa347cdbe10ee2237dccd6fd5230 /OpenSim/Region/Framework
parent* Improve memory usage when writing OARs (diff)
downloadopensim-SC_OLD-f12619b78665a6f6b148c870d36b528428cf78b4.zip
opensim-SC_OLD-f12619b78665a6f6b148c870d36b528428cf78b4.tar.gz
opensim-SC_OLD-f12619b78665a6f6b148c870d36b528428cf78b4.tar.bz2
opensim-SC_OLD-f12619b78665a6f6b148c870d36b528428cf78b4.tar.xz
* refactor: Remove GetLandOwner function from Scene
* Simplify since the land is never null
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index aa0218b..5cb9724 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3019,19 +3019,6 @@ namespace OpenSim.Region.Framework.Scenes
3019 m_eventManager.TriggerOnPluginConsole(args); 3019 m_eventManager.TriggerOnPluginConsole(args);
3020 } 3020 }
3021 3021
3022 public UUID GetLandOwner(float x, float y)
3023 {
3024 ILandObject land = LandChannel.GetLandObject(x, y);
3025 if (land == null)
3026 {
3027 return UUID.Zero;
3028 }
3029 else
3030 {
3031 return land.landData.OwnerID;
3032 }
3033 }
3034
3035 public LandData GetLandData(float x, float y) 3022 public LandData GetLandData(float x, float y)
3036 { 3023 {
3037 return LandChannel.GetLandObject(x, y).landData; 3024 return LandChannel.GetLandObject(x, y).landData;