diff options
author | Melanie Thielker | 2014-07-29 03:40:05 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-07-29 03:40:05 +0200 |
commit | 477b5b5623dd58a6ccc8812223df4bb436d450d1 (patch) | |
tree | 4e4cd95693b0aa5ff356db3293e6a0d577b7d823 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | Change some ORs to assignments as they should be (diff) | |
download | opensim-SC_OLD-477b5b5623dd58a6ccc8812223df4bb436d450d1.zip opensim-SC_OLD-477b5b5623dd58a6ccc8812223df4bb436d450d1.tar.gz opensim-SC_OLD-477b5b5623dd58a6ccc8812223df4bb436d450d1.tar.bz2 opensim-SC_OLD-477b5b5623dd58a6ccc8812223df4bb436d450d1.tar.xz |
Add new fields to parcel update
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 779e563..969d946 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4974,7 +4974,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4974 | IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); | 4974 | IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); |
4975 | if (eq != null) | 4975 | if (eq != null) |
4976 | { | 4976 | { |
4977 | eq.ParcelProperties(updateMessage, this.AgentId); | 4977 | OSD message_body = updateMessage.Serialize(); |
4978 | // Add new fields here until OMV has them | ||
4979 | OSDMap parcelData = (OSDMap)message_body; | ||
4980 | parcelData["SeeAVs"] = OSD.FromBoolean(true); | ||
4981 | parcelData["AnyAVSounds"] = OSD.FromBoolean(true); | ||
4982 | parcelData["GroupAVSounds"] = OSD.FromBoolean(true); | ||
4983 | OSDMap message = new OSDMap(); | ||
4984 | message.Add("message", OSD.FromString("ParcelProperties")); | ||
4985 | message.Add("body", message_body); | ||
4986 | eq.Enqueue (message, this.AgentId); | ||
4987 | //eq.ParcelProperties(updateMessage, this.AgentId); | ||
4978 | } | 4988 | } |
4979 | else | 4989 | else |
4980 | { | 4990 | { |