diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 21 |
1 files changed, 20 insertions, 1 deletions
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 | |||
116 | return newLand; | 116 | return newLand; |
117 | } | 117 | } |
118 | 118 | ||
119 | |||
120 | static overrideParcelMaxPrimCountDelegate overrideParcelMaxPrimCount; | 119 | static overrideParcelMaxPrimCountDelegate overrideParcelMaxPrimCount; |
121 | static overrideSimulatorMaxPrimCountDelegate overrideSimulatorMaxPrimCount; | 120 | static overrideSimulatorMaxPrimCountDelegate overrideSimulatorMaxPrimCount; |
122 | 121 | ||
@@ -926,5 +925,25 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
926 | #endregion | 925 | #endregion |
927 | 926 | ||
928 | #endregion | 927 | #endregion |
928 | |||
929 | /// <summary> | ||
930 | /// Set the media url for this land parcel | ||
931 | /// </summary> | ||
932 | /// <param name="url"></param> | ||
933 | public void SetMediaUrl(string url) | ||
934 | { | ||
935 | landData.MediaURL = url; | ||
936 | sendLandUpdateToAvatarsOverMe(); | ||
937 | } | ||
938 | |||
939 | /// <summary> | ||
940 | /// Set the music url for this land parcel | ||
941 | /// </summary> | ||
942 | /// <param name="url"></param> | ||
943 | public void SetMusicUrl(string url) | ||
944 | { | ||
945 | landData.MusicURL = url; | ||
946 | sendLandUpdateToAvatarsOverMe(); | ||
947 | } | ||
929 | } | 948 | } |
930 | } | 949 | } |