diff options
author | Melanie | 2012-06-15 02:52:56 +0100 |
---|---|---|
committer | Melanie | 2012-06-15 02:52:56 +0100 |
commit | ca4e6d9b5b408d31d5778578cf41d1c77198287f (patch) | |
tree | 2348d8a79ce819e3adbdf54fd0458a4d0ed7091d | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix a regression in BaseHttpServer.HandleXmlRpcRequests() from recent c6e3752 (diff) | |
download | opensim-SC_OLD-ca4e6d9b5b408d31d5778578cf41d1c77198287f.zip opensim-SC_OLD-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.gz opensim-SC_OLD-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.bz2 opensim-SC_OLD-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 9cc1d4c..31af44c 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -786,7 +786,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
786 | requestStream.Close(); | 786 | requestStream.Close(); |
787 | //m_log.Debug(requestBody); | 787 | //m_log.Debug(requestBody); |
788 | requestBody = requestBody.Replace("<base64></base64>", ""); | 788 | requestBody = requestBody.Replace("<base64></base64>", ""); |
789 | string responseString = null; | 789 | string responseString = String.Empty; |
790 | XmlRpcRequest xmlRprcRequest = null; | 790 | XmlRpcRequest xmlRprcRequest = null; |
791 | 791 | ||
792 | try | 792 | try |
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index f1deaa8..c05ef3c 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -631,6 +631,20 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
631 | { | 631 | { |
632 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); | 632 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); |
633 | } | 633 | } |
634 | else if (so.HasPrivateAttachmentPoint) | ||
635 | { | ||
636 | // m_log.DebugFormat( | ||
637 | // "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}", | ||
638 | // so.Name, sp.Name, so.AttachmentPoint); | ||
639 | |||
640 | // As this scene object can now only be seen by the attaching avatar, tell everybody else in the | ||
641 | // scene that it's no longer in their awareness. | ||
642 | m_scene.ForEachClient( | ||
643 | client => | ||
644 | { if (client.AgentId != so.AttachedAvatar) | ||
645 | client.SendKillObject(m_scene.RegionInfo.RegionHandle, new List<uint>() { so.LocalId }); | ||
646 | }); | ||
647 | } | ||
634 | 648 | ||
635 | so.IsSelected = false; // fudge.... | 649 | so.IsSelected = false; // fudge.... |
636 | so.ScheduleGroupForFullUpdate(); | 650 | so.ScheduleGroupForFullUpdate(); |