diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index fe4a7d1..9b9d9da 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3113,6 +3113,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
3113 | ((SceneObjectGroup)clone).RootPart.IsAttachment = false; | 3113 | ((SceneObjectGroup)clone).RootPart.IsAttachment = false; |
3114 | cAgent.AttachmentObjects.Add(clone); | 3114 | cAgent.AttachmentObjects.Add(clone); |
3115 | cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); | 3115 | cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); |
3116 | // Let's remove the scripts of the original object here | ||
3117 | sog.RemoveScriptInstances(true); | ||
3116 | } | 3118 | } |
3117 | } | 3119 | } |
3118 | } | 3120 | } |