diff options
author | UbitUmarov | 2014-08-25 23:31:04 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-25 23:31:04 +0100 |
commit | 6857afe2a4ca73da904b9928c282c0087ff4b3bf (patch) | |
tree | 8e402986662b5ea46dca877685aafa7eee9c9d24 | |
parent | *test* cleanup the bugs nest (diff) | |
download | opensim-SC_OLD-6857afe2a4ca73da904b9928c282c0087ff4b3bf.zip opensim-SC_OLD-6857afe2a4ca73da904b9928c282c0087ff4b3bf.tar.gz opensim-SC_OLD-6857afe2a4ca73da904b9928c282c0087ff4b3bf.tar.bz2 opensim-SC_OLD-6857afe2a4ca73da904b9928c282c0087ff4b3bf.tar.xz |
*test* back to no sog kills, little retouch on attachment updates,
NameValue AttachItemID is a root part thing only
-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); |