diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 2ede245..cc97988 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2414,6 +2414,22 @@ namespace OpenSim.Region.Environment.Scenes | |||
2414 | } | 2414 | } |
2415 | } | 2415 | } |
2416 | 2416 | ||
2417 | public void SetLandMediaURL(float x, float y, string url) | ||
2418 | { | ||
2419 | Land land = LandManager.getLandObject(x, y); | ||
2420 | |||
2421 | if (land == null) | ||
2422 | { | ||
2423 | return; | ||
2424 | } | ||
2425 | |||
2426 | else | ||
2427 | { | ||
2428 | land.landData.mediaURL = url; | ||
2429 | return; | ||
2430 | } | ||
2431 | } | ||
2432 | |||
2417 | #endregion | 2433 | #endregion |
2418 | 2434 | ||
2419 | #region Script Engine | 2435 | #region Script Engine |