aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-03-05 23:18:47 +0000
committerJustin Clark-Casey (justincc)2010-03-05 23:18:47 +0000
commit60553e62a3f576b8bf6ab88a83b2d4550bd69d2b (patch)
tree3e24624d846502dda17fdac827f070273fafba26 /OpenSim/Region/ScriptEngine/Shared/Api
parentautomatically delete %temp% directory after running tests (diff)
downloadopensim-SC_OLD-60553e62a3f576b8bf6ab88a83b2d4550bd69d2b.zip
opensim-SC_OLD-60553e62a3f576b8bf6ab88a83b2d4550bd69d2b.tar.gz
opensim-SC_OLD-60553e62a3f576b8bf6ab88a83b2d4550bd69d2b.tar.bz2
opensim-SC_OLD-60553e62a3f576b8bf6ab88a83b2d4550bd69d2b.tar.xz
refactor: begin to move attachments code into a region module
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 0134b03..0eee147 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2896,9 +2896,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2896 2896
2897 ScenePresence presence = World.GetScenePresence(m_host.OwnerID); 2897 ScenePresence presence = World.GetScenePresence(m_host.OwnerID);
2898 2898
2899 m_ScriptEngine.World.AttachObject(presence.ControllingClient, 2899 IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule;
2900 grp.LocalId, (uint)attachment, Quaternion.Identity, 2900 if (attachmentsModule != null)
2901 Vector3.Zero, false); 2901 attachmentsModule.AttachObject(
2902 presence.ControllingClient, grp.LocalId,
2903 (uint)attachment, Quaternion.Identity, Vector3.Zero, false);
2902 } 2904 }
2903 } 2905 }
2904 2906