diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 34eae44..6dd2ffd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5256,6 +5256,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5256 | updateMessage.MediaLoop = landData.MediaLoop; | 5256 | updateMessage.MediaLoop = landData.MediaLoop; |
5257 | updateMessage.ObscureMusic = landData.ObscureMusic; | 5257 | updateMessage.ObscureMusic = landData.ObscureMusic; |
5258 | updateMessage.ObscureMedia = landData.ObscureMedia; | 5258 | updateMessage.ObscureMedia = landData.ObscureMedia; |
5259 | |||
5260 | updateMessage.SeeAVs = landData.SeeAVs; | ||
5261 | updateMessage.AnyAVSounds = landData.AnyAVSounds; | ||
5262 | updateMessage.GroupAVSounds = landData.GroupAVSounds; | ||
5259 | 5263 | ||
5260 | IPrimCounts pc = lo.PrimCounts; | 5264 | IPrimCounts pc = lo.PrimCounts; |
5261 | updateMessage.OwnerPrims = pc.Owner; | 5265 | updateMessage.OwnerPrims = pc.Owner; |
@@ -5272,22 +5276,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5272 | IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); | 5276 | IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); |
5273 | if (eq != null) | 5277 | if (eq != null) |
5274 | { | 5278 | { |
5275 | 5279 | eq.ParcelProperties(updateMessage, this.AgentId); | |
5276 | OSD message_body = updateMessage.Serialize(); | ||
5277 | // Add new fields here until OMV has them | ||
5278 | OSDMap bodyMap = (OSDMap)message_body; | ||
5279 | OSDArray parcelDataArray = (OSDArray)bodyMap["ParcelData"]; | ||
5280 | OSDMap parcelData = (OSDMap)parcelDataArray[0]; | ||
5281 | parcelData["SeeAVs"] = OSD.FromBoolean(landData.SeeAVs); | ||
5282 | parcelData["AnyAVSounds"] = OSD.FromBoolean(landData.AnyAVSounds); | ||
5283 | parcelData["GroupAVSounds"] = OSD.FromBoolean(landData.GroupAVSounds); | ||
5284 | OSDMap message = new OSDMap(); | ||
5285 | message.Add("message", OSD.FromString("ParcelProperties")); | ||
5286 | message.Add("body", message_body); | ||
5287 | |||
5288 | eq.Enqueue (message, this.AgentId); | ||
5289 | |||
5290 | // eq.ParcelProperties(updateMessage, this.AgentId); | ||
5291 | } | 5280 | } |
5292 | else | 5281 | else |
5293 | { | 5282 | { |