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 /OpenSim/Region/CoreModules/Avatar | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix a regression in BaseHttpServer.HandleXmlRpcRequests() from recent c6e3752 (diff) | |
download | opensim-SC-ca4e6d9b5b408d31d5778578cf41d1c77198287f.zip opensim-SC-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.gz opensim-SC-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.bz2 opensim-SC-ca4e6d9b5b408d31d5778578cf41d1c77198287f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 14 |
1 files changed, 14 insertions, 0 deletions
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(); |