aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-13 22:54:50 +0100
committerJustin Clark-Casey (justincc)2011-09-13 22:54:50 +0100
commitbd991fc95f8ec648f7dbb0086ae716e4204d1687 (patch)
tree0955cb5eafebe3f503ac5a1b16a0213ac1c4cb3f /OpenSim/Region/Framework
parentRemove code from DetachSingleAttachmentToInv() that sets group changed on all... (diff)
downloadopensim-SC_OLD-bd991fc95f8ec648f7dbb0086ae716e4204d1687.zip
opensim-SC_OLD-bd991fc95f8ec648f7dbb0086ae716e4204d1687.tar.gz
opensim-SC_OLD-bd991fc95f8ec648f7dbb0086ae716e4204d1687.tar.bz2
opensim-SC_OLD-bd991fc95f8ec648f7dbb0086ae716e4204d1687.tar.xz
Don't try and delete attachments for child agent close
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
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 {