diff options
author | Justin Clark-Casey (justincc) | 2010-09-13 21:20:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-09-13 21:20:31 +0100 |
commit | 7ae926618612a76bf143b1cbcd6e420828becb5a (patch) | |
tree | 806c9c9291c73412dcc31ce84b201a349bcc3e5f /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Rename now protected method SetAttachmentInventoryStatus() to ShowAttachInUse... (diff) | |
download | opensim-SC-7ae926618612a76bf143b1cbcd6e420828becb5a.zip opensim-SC-7ae926618612a76bf143b1cbcd6e420828becb5a.tar.gz opensim-SC-7ae926618612a76bf143b1cbcd6e420828becb5a.tar.bz2 opensim-SC-7ae926618612a76bf143b1cbcd6e420828becb5a.tar.xz |
Remove SceneGraph.DetachObject() which was accidentally left around after being migrated to AttachmentsModule
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 5ac8ff5..85ff32e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -522,16 +522,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
522 | m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient); | 522 | m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient); |
523 | } | 523 | } |
524 | 524 | ||
525 | protected internal void DetachObject(uint objectLocalID, IClientAPI remoteClient) | ||
526 | { | ||
527 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); | ||
528 | if (group != null) | ||
529 | { | ||
530 | //group.DetachToGround(); | ||
531 | m_parentScene.AttachmentsModule.ShowDetachInUserInventory(group.GetFromItemID(), remoteClient); | ||
532 | } | ||
533 | } | ||
534 | |||
535 | protected internal void HandleUndo(IClientAPI remoteClient, UUID primId) | 525 | protected internal void HandleUndo(IClientAPI remoteClient, UUID primId) |
536 | { | 526 | { |
537 | if (primId != UUID.Zero) | 527 | if (primId != UUID.Zero) |