mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* refactor: move media and music url setting from scene into LandObject
This commit is contained in:
@@ -3048,20 +3048,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return LandChannel.GetLandObject((int)x, (int)y).landData;
|
||||
}
|
||||
|
||||
public void SetLandMusicURL(float x, float y, string url)
|
||||
{
|
||||
ILandObject land = LandChannel.GetLandObject(x, y);
|
||||
land.landData.MusicURL = url;
|
||||
land.sendLandUpdateToAvatarsOverMe();
|
||||
}
|
||||
|
||||
public void SetLandMediaURL(float x, float y, string url)
|
||||
{
|
||||
ILandObject land = LandChannel.GetLandObject(x, y);
|
||||
land.landData.MediaURL = url;
|
||||
land.sendLandUpdateToAvatarsOverMe();
|
||||
}
|
||||
|
||||
public RegionInfo RequestClosestRegion(string name)
|
||||
{
|
||||
return m_sceneGridService.RequestClosestRegion(name);
|
||||
|
||||
Reference in New Issue
Block a user