diff options
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index b0b402c..ff89ef9 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -710,6 +710,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
710 | ScenePresence avatar = m_scene.GetScenePresence(agentID); | 710 | ScenePresence avatar = m_scene.GetScenePresence(agentID); |
711 | if (avatar != null) | 711 | if (avatar != null) |
712 | { | 712 | { |
713 | // don't attach attachments to child agents | ||
714 | if (avatar.IsChildAgent) return; | ||
715 | |||
713 | DetachFromBackup(this); | 716 | DetachFromBackup(this); |
714 | m_rootPart.AttachedAvatar = agentID; | 717 | m_rootPart.AttachedAvatar = agentID; |
715 | 718 | ||