diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 879352d..a8eff70 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3404,7 +3404,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
3404 | 3404 | ||
3405 | public void Close() | 3405 | public void Close() |
3406 | { | 3406 | { |
3407 | m_scene.AttachmentsModule.DeleteAttachmentsFromScene(this, false); | 3407 | if (!IsChildAgent) |
3408 | m_scene.AttachmentsModule.DeleteAttachmentsFromScene(this, false); | ||
3408 | 3409 | ||
3409 | lock (m_knownChildRegions) | 3410 | lock (m_knownChildRegions) |
3410 | { | 3411 | { |