diff options
Diffstat (limited to '')
-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; |