Remove SceneGraph.DetachObject() which was accidentally left around after being migrated to AttachmentsModule
parent
ae1a0150a1
commit
7ae9266186
|
@ -522,16 +522,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient);
|
m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected internal void DetachObject(uint objectLocalID, IClientAPI remoteClient)
|
|
||||||
{
|
|
||||||
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
|
|
||||||
if (group != null)
|
|
||||||
{
|
|
||||||
//group.DetachToGround();
|
|
||||||
m_parentScene.AttachmentsModule.ShowDetachInUserInventory(group.GetFromItemID(), remoteClient);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected internal void HandleUndo(IClientAPI remoteClient, UUID primId)
|
protected internal void HandleUndo(IClientAPI remoteClient, UUID primId)
|
||||||
{
|
{
|
||||||
if (primId != UUID.Zero)
|
if (primId != UUID.Zero)
|
||||||
|
|
Loading…
Reference in New Issue