aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
authorMelanie Thielker2014-07-29 04:19:01 +0200
committerMelanie Thielker2014-07-29 04:19:01 +0200
commitdfa9780c8c09c795bdd0dec6174ee8680c534e47 (patch)
tree85b664d9ac7bd68e5baf3bf6c038c8572389224e /OpenSim/Region/ClientStack/Linden
parentAdd new fields to parcel update (diff)
downloadopensim-SC_OLD-dfa9780c8c09c795bdd0dec6174ee8680c534e47.zip
opensim-SC_OLD-dfa9780c8c09c795bdd0dec6174ee8680c534e47.tar.gz
opensim-SC_OLD-dfa9780c8c09c795bdd0dec6174ee8680c534e47.tar.bz2
opensim-SC_OLD-dfa9780c8c09c795bdd0dec6174ee8680c534e47.tar.xz
Send new parcel permissions to activate viewer options - done right this time
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 969d946..3c44c5f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -4976,10 +4976,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4976 { 4976 {
4977 OSD message_body = updateMessage.Serialize(); 4977 OSD message_body = updateMessage.Serialize();
4978 // Add new fields here until OMV has them 4978 // Add new fields here until OMV has them
4979 OSDMap parcelData = (OSDMap)message_body; 4979 OSDMap bodyMap = (OSDMap)message_body;
4980 parcelData["SeeAVs"] = OSD.FromBoolean(true); 4980 OSDArray parcelDataArray = (OSDArray)bodyMap["ParcelData"];
4981 parcelData["AnyAVSounds"] = OSD.FromBoolean(true); 4981 OSDMap parcelData = (OSDMap)parcelDataArray[0];
4982 parcelData["GroupAVSounds"] = OSD.FromBoolean(true); 4982 parcelData["SeeAVs"] = OSD.FromBoolean(landData.SeeAVs);
4983 parcelData["AnyAVSounds"] = OSD.FromBoolean(landData.AnyAVSounds);
4984 parcelData["GroupAVSounds"] = OSD.FromBoolean(landData.GroupAVSounds);
4983 OSDMap message = new OSDMap(); 4985 OSDMap message = new OSDMap();
4984 message.Add("message", OSD.FromString("ParcelProperties")); 4986 message.Add("message", OSD.FromString("ParcelProperties"));
4985 message.Add("body", message_body); 4987 message.Add("body", message_body);