Major attachments cleanup. Remove unused AttachObject ClientView method

Clean up use of AttachObject throughout, reduce number of overloads
and number of parameters
This commit is contained in:
Melanie Thielker
2010-07-14 19:58:23 +02:00
parent 0c445239a6
commit bebbe407ee
13 changed files with 49 additions and 123 deletions

View File

@@ -3160,15 +3160,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
ScenePresence presence = World.GetScenePresence(m_host.OwnerID);
/*
IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule;
if (attachmentsModule != null)
{
attachmentsModule.AttachObject(
presence.ControllingClient, grp.LocalId,
(uint)attachment, Quaternion.Identity, Vector3.Zero, false);
}
*/
grp.AttachToAgent(m_host.OwnerID, (uint)attachment, Vector3.Zero, false);
}
}