mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
* refactor: move media and music url setting from scene into LandObject
This commit is contained in:
@@ -116,7 +116,6 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
return newLand;
|
||||
}
|
||||
|
||||
|
||||
static overrideParcelMaxPrimCountDelegate overrideParcelMaxPrimCount;
|
||||
static overrideSimulatorMaxPrimCountDelegate overrideSimulatorMaxPrimCount;
|
||||
|
||||
@@ -926,5 +925,25 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Set the media url for this land parcel
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
public void SetMediaUrl(string url)
|
||||
{
|
||||
landData.MediaURL = url;
|
||||
sendLandUpdateToAvatarsOverMe();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the music url for this land parcel
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
public void SetMusicUrl(string url)
|
||||
{
|
||||
landData.MusicURL = url;
|
||||
sendLandUpdateToAvatarsOverMe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user