diff options
author | Justin Clark-Casey (justincc) | 2010-04-17 00:00:45 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-17 00:00:45 +0100 |
commit | 26e38842372e934937be36a21d8a99742cd485fe (patch) | |
tree | b29eedfcae9ef10194a1c3053b63bbadd3e1e9e7 /OpenSim/Region/CoreModules | |
parent | refactor: remove now unused internal method SendAttachEvent() (diff) | |
download | opensim-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.cs | 10 |
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; |