From 3d70dbd01df8c02dc75c66b470602e93665e91f6 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Thu, 5 Mar 2009 20:53:23 +0000
Subject: * refactor: move media and music url setting from scene into
LandObject
---
OpenSim/Region/CoreModules/World/Land/LandObject.cs | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/CoreModules')
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index 67cb845..e3e49ba 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -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
+
+ ///
+ /// Set the media url for this land parcel
+ ///
+ ///
+ public void SetMediaUrl(string url)
+ {
+ landData.MediaURL = url;
+ sendLandUpdateToAvatarsOverMe();
+ }
+
+ ///
+ /// Set the music url for this land parcel
+ ///
+ ///
+ public void SetMusicUrl(string url)
+ {
+ landData.MusicURL = url;
+ sendLandUpdateToAvatarsOverMe();
+ }
}
}
--
cgit v1.1