refactor: crudely move DetachSingleAttachmentToGround() over to the AttachmentsModule

This commit is contained in:
Justin Clark-Casey (justincc)
2010-04-16 23:15:13 +01:00
parent 45563e20e0
commit 57c293d604
4 changed files with 40 additions and 33 deletions

View File

@@ -443,9 +443,7 @@ namespace OpenSim.Region.Framework.Scenes
{
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
if (group != null)
{
m_parentScene.DetachSingleAttachmentToGround(group.UUID, remoteClient);
}
m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient);
}
protected internal void DetachObject(uint objectLocalID, IClientAPI remoteClient)