Add new fields to parcel update

avinationmerge
Melanie Thielker 2014-07-29 03:40:05 +02:00
parent 181142c5ce
commit 477b5b5623
1 changed files with 11 additions and 1 deletions

View File

@ -4974,7 +4974,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>();
if (eq != null) if (eq != null)
{ {
eq.ParcelProperties(updateMessage, this.AgentId); OSD message_body = updateMessage.Serialize();
// Add new fields here until OMV has them
OSDMap parcelData = (OSDMap)message_body;
parcelData["SeeAVs"] = OSD.FromBoolean(true);
parcelData["AnyAVSounds"] = OSD.FromBoolean(true);
parcelData["GroupAVSounds"] = OSD.FromBoolean(true);
OSDMap message = new OSDMap();
message.Add("message", OSD.FromString("ParcelProperties"));
message.Add("body", message_body);
eq.Enqueue (message, this.AgentId);
//eq.ParcelProperties(updateMessage, this.AgentId);
} }
else else
{ {