diff options
author | Justin Clark-Casey (justincc) | 2013-01-03 20:57:14 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-03 20:57:14 +0000 |
commit | 7f195de3032e909771a3c066d194f073ee0876d6 (patch) | |
tree | cd66e340d276fea508cb32f19e07fdbd034cdec6 /OpenSim | |
parent | Scipt modules get the OpenMetaverse types, so lists passed as arguments to sc... (diff) | |
download | opensim-SC_OLD-7f195de3032e909771a3c066d194f073ee0876d6.zip opensim-SC_OLD-7f195de3032e909771a3c066d194f073ee0876d6.tar.gz opensim-SC_OLD-7f195de3032e909771a3c066d194f073ee0876d6.tar.bz2 opensim-SC_OLD-7f195de3032e909771a3c066d194f073ee0876d6.tar.xz |
Fix problem where object attached from ground often does not get attached properly.
It seems this is happening because we send a kill for objects that are selected when attached.
A code comment says that this is to get the client to deselect it, but v3 and v1 clients do this just fine without the kill.
Aims to address http://opensimulator.org/mantis/view.php?id=6456
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 24170fc..da59472 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -654,15 +654,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
654 | 654 | ||
655 | if (!silent) | 655 | if (!silent) |
656 | { | 656 | { |
657 | // Killing it here will cause the client to deselect it | 657 | if (so.HasPrivateAttachmentPoint) |
658 | // It then reappears on the avatar, deselected | ||
659 | // through the full update below | ||
660 | // | ||
661 | if (so.IsSelected) | ||
662 | { | ||
663 | m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId }); | ||
664 | } | ||
665 | else if (so.HasPrivateAttachmentPoint) | ||
666 | { | 658 | { |
667 | // m_log.DebugFormat( | 659 | // m_log.DebugFormat( |
668 | // "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}", | 660 | // "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}", |