diff options
author | Melanie Thielker | 2010-07-14 19:58:23 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-14 19:58:23 +0200 |
commit | bebbe407ee166a0aa22f0ec8d14ada780924f9af (patch) | |
tree | 79e38927939a6e95ff4ff105b357a8d3888a67b8 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Remove useless quaternion parameter from AttachObject sig (diff) | |
download | opensim-SC-bebbe407ee166a0aa22f0ec8d14ada780924f9af.zip opensim-SC-bebbe407ee166a0aa22f0ec8d14ada780924f9af.tar.gz opensim-SC-bebbe407ee166a0aa22f0ec8d14ada780924f9af.tar.bz2 opensim-SC-bebbe407ee166a0aa22f0ec8d14ada780924f9af.tar.xz |
Major attachments cleanup. Remove unused AttachObject ClientView method
Clean up use of AttachObject throughout, reduce number of overloads
and number of parameters
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 976a9ff..defe633 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3160,15 +3160,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3160 | 3160 | ||
3161 | ScenePresence presence = World.GetScenePresence(m_host.OwnerID); | 3161 | ScenePresence presence = World.GetScenePresence(m_host.OwnerID); |
3162 | 3162 | ||
3163 | /* | ||
3164 | IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; | ||
3165 | if (attachmentsModule != null) | ||
3166 | { | ||
3167 | attachmentsModule.AttachObject( | ||
3168 | presence.ControllingClient, grp.LocalId, | ||
3169 | (uint)attachment, Quaternion.Identity, Vector3.Zero, false); | ||
3170 | } | ||
3171 | */ | ||
3172 | grp.AttachToAgent(m_host.OwnerID, (uint)attachment, Vector3.Zero, false); | 3163 | grp.AttachToAgent(m_host.OwnerID, (uint)attachment, Vector3.Zero, false); |
3173 | } | 3164 | } |
3174 | } | 3165 | } |