mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
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:
@@ -2940,9 +2940,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule;
|
||||
if (attachmentsModule != null)
|
||||
attachmentsModule.AttachObject(
|
||||
presence.ControllingClient, grp.LocalId,
|
||||
(uint)attachment, Quaternion.Identity, Vector3.Zero, false);
|
||||
attachmentsModule.AttachObject(presence.ControllingClient,
|
||||
grp, (uint)attachment, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user