diff options
author | Dan Lake | 2011-10-03 16:44:32 -0700 |
---|---|---|
committer | Dan Lake | 2011-10-03 16:44:32 -0700 |
commit | 460946ad62b682c7a942751f192ca9e96b662f0e (patch) | |
tree | 3ea7d72402d5b61221bb2c0bcd5fb9b5e7551d5f /OpenSim/Region/ScriptEngine | |
parent | Remove usage of Linden packet types from inside Attachments Module and interface (diff) | |
download | opensim-SC-460946ad62b682c7a942751f192ca9e96b662f0e.zip opensim-SC-460946ad62b682c7a942751f192ca9e96b662f0e.tar.gz opensim-SC-460946ad62b682c7a942751f192ca9e96b662f0e.tar.bz2 opensim-SC-460946ad62b682c7a942751f192ca9e96b662f0e.tar.xz |
Removed redundant code in AttachmentsModule and simplified interfaces which converted back and forth between ScenePresence and IClientAPI. More to be done still.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9a26f4b..4b2fb51 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2966,8 +2966,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2966 | 2966 | ||
2967 | IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; | 2967 | IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule; |
2968 | if (attachmentsModule != null) | 2968 | if (attachmentsModule != null) |
2969 | attachmentsModule.AttachObject(presence.ControllingClient, | 2969 | attachmentsModule.AttachObject(presence, grp, (uint)attachment, false); |
2970 | grp, (uint)attachment, false); | ||
2971 | } | 2970 | } |
2972 | } | 2971 | } |
2973 | 2972 | ||