From 7d58b5fa157b4c3e842573d9fb02a9822034f4b0 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Wed, 31 Aug 2011 17:53:58 +0100
Subject: move common code into AttachmentsModule.DeleteAttachmentsFromScene()
---
OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs')
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index ce795f1..dd11ded 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -48,6 +48,15 @@ namespace OpenSim.Region.Framework.Interfaces
void SaveChangedAttachments(IScenePresence sp);
///
+ /// Delete all the presence's attachments from the scene
+ ///
+ ///
+ /// This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross).
+ ///
+ ///
+ void DeleteAttachmentsFromScene(IScenePresence sp, bool silent);
+
+ ///
/// Attach an object to an avatar from the world.
///
///
--
cgit v1.1