mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user