aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs21
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 117cbd5..cf17686 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1981,7 +1981,26 @@ namespace OpenSim.Region.Environment.Scenes
1981 return land.landData.ownerID; 1981 return land.landData.ownerID;
1982 } 1982 }
1983 } 1983 }
1984 1984
1985 public LandData GetLandData(float x, float y)
1986 {
1987 return LandManager.getLandObject(x, y).landData;
1988 }
1989
1990 public void SetLandMusicURL(float x, float y, string url)
1991 {
1992 Land land = LandManager.getLandObject(x, y);
1993 if (land == null)
1994 {
1995 return;
1996 }
1997 else
1998 {
1999 land.landData.musicURL = url;
2000 return;
2001 }
2002 }
2003
1985 #endregion 2004 #endregion
1986 2005
1987 #region Script Engine 2006 #region Script Engine