aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2016-07-15 15:36:53 +0100
committerUbitUmarov2016-07-15 15:36:53 +0100
commit5f5c4aca406729728ab70f5bc35505bc67d8102c (patch)
treee5d72c59fca473a9a749d0b40eb9761624d30a88 /OpenSim
parent revert changes to Select/DeSelect, using the SelectObjects as control seems bad (diff)
downloadopensim-SC_OLD-5f5c4aca406729728ab70f5bc35505bc67d8102c.zip
opensim-SC_OLD-5f5c4aca406729728ab70f5bc35505bc67d8102c.tar.gz
opensim-SC_OLD-5f5c4aca406729728ab70f5bc35505bc67d8102c.tar.bz2
opensim-SC_OLD-5f5c4aca406729728ab70f5bc35505bc67d8102c.tar.xz
lib omv now supports SeeAvs fields, so use it, thx Gavin Hird
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs21
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 {