aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-17 00:00:45 +0100
committerJustin Clark-Casey (justincc)2010-04-17 00:00:45 +0100
commit26e38842372e934937be36a21d8a99742cd485fe (patch)
treeb29eedfcae9ef10194a1c3053b63bbadd3e1e9e7 /OpenSim/Region/CoreModules
parentrefactor: remove now unused internal method SendAttachEvent() (diff)
downloadopensim-SC-26e38842372e934937be36a21d8a99742cd485fe.zip
opensim-SC-26e38842372e934937be36a21d8a99742cd485fe.tar.gz
opensim-SC-26e38842372e934937be36a21d8a99742cd485fe.tar.bz2
opensim-SC-26e38842372e934937be36a21d8a99742cd485fe.tar.xz
refactor: move DeatchObject() into the AttachmentsModule
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index f8fb7ca..c87a383 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -323,6 +323,16 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
323 } 323 }
324 } 324 }
325 325
326 public void DetachObject(uint objectLocalID, IClientAPI remoteClient)
327 {
328 SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID);
329 if (group != null)
330 {
331 //group.DetachToGround();
332 ShowDetachInUserInventory(group.GetFromItemID(), remoteClient);
333 }
334 }
335
326 public void ShowDetachInUserInventory(UUID itemID, IClientAPI remoteClient) 336 public void ShowDetachInUserInventory(UUID itemID, IClientAPI remoteClient)
327 { 337 {
328 ScenePresence presence; 338 ScenePresence presence;