aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs14
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();