diff options
author | Justin Clarke Casey | 2009-03-05 21:10:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-05 21:10:39 +0000 |
commit | 11e1948b57f96e7d22c56e82bfb15b93f62a5cef (patch) | |
tree | 854a974e8a9870b7070c28b070f62557d98e13a5 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | * refactor: move media and music url setting from scene into LandObject (diff) | |
download | opensim-SC-11e1948b57f96e7d22c56e82bfb15b93f62a5cef.zip opensim-SC-11e1948b57f96e7d22c56e82bfb15b93f62a5cef.tar.gz opensim-SC-11e1948b57f96e7d22c56e82bfb15b93f62a5cef.tar.bz2 opensim-SC-11e1948b57f96e7d22c56e82bfb15b93f62a5cef.tar.xz |
* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap (which is used in other contexts)
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 7776215..aa0218b 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3019,11 +3019,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3019 | m_eventManager.TriggerOnPluginConsole(args); | 3019 | m_eventManager.TriggerOnPluginConsole(args); |
3020 | } | 3020 | } |
3021 | 3021 | ||
3022 | public double GetLandHeight(int x, int y) | ||
3023 | { | ||
3024 | return Heightmap[x, y]; | ||
3025 | } | ||
3026 | |||
3027 | public UUID GetLandOwner(float x, float y) | 3022 | public UUID GetLandOwner(float x, float y) |
3028 | { | 3023 | { |
3029 | ILandObject land = LandChannel.GetLandObject(x, y); | 3024 | ILandObject land = LandChannel.GetLandObject(x, y); |