diff options
author | Justin Clarke Casey | 2009-03-05 20:53:23 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-05 20:53:23 +0000 |
commit | 3d70dbd01df8c02dc75c66b470602e93665e91f6 (patch) | |
tree | 431b5bde21d9945f2732cae0f477f417a3028b2a /OpenSim/Region/Framework/Scenes | |
parent | * simplify media and music url setting since we never get back a null land ob... (diff) | |
download | opensim-SC_OLD-3d70dbd01df8c02dc75c66b470602e93665e91f6.zip opensim-SC_OLD-3d70dbd01df8c02dc75c66b470602e93665e91f6.tar.gz opensim-SC_OLD-3d70dbd01df8c02dc75c66b470602e93665e91f6.tar.bz2 opensim-SC_OLD-3d70dbd01df8c02dc75c66b470602e93665e91f6.tar.xz |
* refactor: move media and music url setting from scene into LandObject
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index faa3bd7..7776215 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3048,20 +3048,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3048 | return LandChannel.GetLandObject((int)x, (int)y).landData; | 3048 | return LandChannel.GetLandObject((int)x, (int)y).landData; |
3049 | } | 3049 | } |
3050 | 3050 | ||
3051 | public void SetLandMusicURL(float x, float y, string url) | ||
3052 | { | ||
3053 | ILandObject land = LandChannel.GetLandObject(x, y); | ||
3054 | land.landData.MusicURL = url; | ||
3055 | land.sendLandUpdateToAvatarsOverMe(); | ||
3056 | } | ||
3057 | |||
3058 | public void SetLandMediaURL(float x, float y, string url) | ||
3059 | { | ||
3060 | ILandObject land = LandChannel.GetLandObject(x, y); | ||
3061 | land.landData.MediaURL = url; | ||
3062 | land.sendLandUpdateToAvatarsOverMe(); | ||
3063 | } | ||
3064 | |||
3065 | public RegionInfo RequestClosestRegion(string name) | 3051 | public RegionInfo RequestClosestRegion(string name) |
3066 | { | 3052 | { |
3067 | return m_sceneGridService.RequestClosestRegion(name); | 3053 | return m_sceneGridService.RequestClosestRegion(name); |