aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 4632402..f0ea0ba 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3521,7 +3521,7 @@ namespace OpenSim.Region.Framework.Scenes
3521 EntityBase[] entities = Scene.Entities.GetEntities(); 3521 EntityBase[] entities = Scene.Entities.GetEntities();
3522 foreach (EntityBase e in entities) 3522 foreach (EntityBase e in entities)
3523 { 3523 {
3524 if (e != null && e is SceneObjectGroup) 3524 if (e != null && e is SceneObjectGroup && !((SceneObjectGroup)e).IsAttachment)
3525 ((SceneObjectGroup)e).SendFullUpdateToClient(ControllingClient); 3525 ((SceneObjectGroup)e).SendFullUpdateToClient(ControllingClient);
3526 } 3526 }
3527 }); 3527 });
@@ -3596,7 +3596,7 @@ namespace OpenSim.Region.Framework.Scenes
3596 p.SendAvatarDataToAgentNF(this); 3596 p.SendAvatarDataToAgentNF(this);
3597 p.SendAppearanceToAgentNF(this); 3597 p.SendAppearanceToAgentNF(this);
3598 p.SendAnimPackToAgentNF(this); 3598 p.SendAnimPackToAgentNF(this);
3599 // for now attachments are sent with all SOG 3599 p.SendAttachmentsToAgentNF(this);
3600 count++; 3600 count++;
3601 }); 3601 });
3602 3602
@@ -5969,9 +5969,10 @@ namespace OpenSim.Region.Framework.Scenes
5969 public void SendKillTo(ScenePresence p) 5969 public void SendKillTo(ScenePresence p)
5970 { 5970 {
5971 List<uint> ids = new List<uint>(m_attachments.Count + 1); 5971 List<uint> ids = new List<uint>(m_attachments.Count + 1);
5972 ids.Add(LocalId);
5973 foreach (SceneObjectGroup sog in m_attachments) 5972 foreach (SceneObjectGroup sog in m_attachments)
5974 ids.Add(sog.RootPart.LocalId); 5973 ids.Add(sog.RootPart.LocalId);
5974
5975 ids.Add(LocalId);
5975 p.ControllingClient.SendKillObject(ids); 5976 p.ControllingClient.SendKillObject(ids);
5976 } 5977 }
5977 5978