Removed redundant code in AttachmentsModule and simplified interfaces which converted back and forth between ScenePresence and IClientAPI. More to be done still.

This commit is contained in:
Dan Lake
2011-10-03 16:44:32 -07:00
parent e77c919290
commit 460946ad62
6 changed files with 82 additions and 130 deletions

View File

@@ -2966,8 +2966,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule;
if (attachmentsModule != null)
attachmentsModule.AttachObject(presence.ControllingClient,
grp, (uint)attachment, false);
attachmentsModule.AttachObject(presence, grp, (uint)attachment, false);
}
}