diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 88071f6..d47b1ab 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -562,6 +562,19 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
562 | { | 562 | { |
563 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); | 563 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); |
564 | } | 564 | } |
565 | else if (so.HasPrivateAttachmentPoint) | ||
566 | { | ||
567 | // m_log.DebugFormat( | ||
568 | // "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}", | ||
569 | // so.Name, sp.Name, so.AttachmentPoint); | ||
570 | |||
571 | // Remove the client from everyone in the | ||
572 | m_scene.ForEachClient( | ||
573 | client => | ||
574 | { if (client.AgentId != so.AttachedAvatar) | ||
575 | client.SendKillObject(m_scene.RegionInfo.RegionHandle, new List<uint>() { so.LocalId }); | ||
576 | }); | ||
577 | } | ||
565 | 578 | ||
566 | so.IsSelected = false; // fudge.... | 579 | so.IsSelected = false; // fudge.... |
567 | so.ScheduleGroupForFullUpdate(); | 580 | so.ScheduleGroupForFullUpdate(); |