diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 0663983..7087bb7 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5411,7 +5411,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5411 | 5411 | ||
5412 | if (data.ParentGroup.IsAttachment) | 5412 | if (data.ParentGroup.IsAttachment) |
5413 | { | 5413 | { |
5414 | if (data.UUID == data.ParentGroup.RootPart.UUID) | 5414 | if (data.IsRoot) |
5415 | { | 5415 | { |
5416 | update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID); | 5416 | update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID); |
5417 | } | 5417 | } |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 4fa95fd..58d3ef6 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -5982,10 +5982,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
5982 | public void SendKillTo(ScenePresence p) | 5982 | public void SendKillTo(ScenePresence p) |
5983 | { | 5983 | { |
5984 | List<uint> ids = new List<uint>(m_attachments.Count + 1); | 5984 | List<uint> ids = new List<uint>(m_attachments.Count + 1); |
5985 | foreach (SceneObjectGroup sog in m_attachments) | 5985 | // foreach (SceneObjectGroup sog in m_attachments) |
5986 | { | 5986 | // { |
5987 | ids.Add(sog.RootPart.LocalId); | 5987 | // ids.Add(sog.RootPart.LocalId); |
5988 | } | 5988 | // } |
5989 | 5989 | ||
5990 | ids.Add(LocalId); | 5990 | ids.Add(LocalId); |
5991 | p.ControllingClient.SendKillObject(ids); | 5991 | p.ControllingClient.SendKillObject(ids); |