aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2011-10-11 23:32:16 +0100
committerMelanie2011-10-11 23:32:16 +0100
commita9af618842e3b70620bd0115405c366dd593efb0 (patch)
tree05de920104ca054c9ce62d0c27a1272610d2fcae /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentMerge commit 'c7d0d71666a92b201d639511d062a7c22726b3c9' into bigmerge (diff)
parentRemoved redundant code in AttachmentsModule and simplified interfaces which c... (diff)
downloadopensim-SC-a9af618842e3b70620bd0115405c366dd593efb0.zip
opensim-SC-a9af618842e3b70620bd0115405c366dd593efb0.tar.gz
opensim-SC-a9af618842e3b70620bd0115405c366dd593efb0.tar.bz2
opensim-SC-a9af618842e3b70620bd0115405c366dd593efb0.tar.xz
Merge commit '460946ad62b682c7a942751f192ca9e96b662f0e' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index b968bdc..fb595fe 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3265,10 +3265,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3265 SceneObjectGroup grp = m_host.ParentGroup; 3265 SceneObjectGroup grp = m_host.ParentGroup;
3266 3266
3267 ScenePresence presence = World.GetScenePresence(m_host.OwnerID); 3267 ScenePresence presence = World.GetScenePresence(m_host.OwnerID);
3268 if (presence.Scene.AttachmentsModule != null) 3268
3269 { 3269 IAttachmentsModule attachmentsModule = m_ScriptEngine.World.AttachmentsModule;
3270 presence.Scene.AttachmentsModule.AttachObject(presence.ControllingClient, grp, (uint)attachment, false); 3270 if (attachmentsModule != null)
3271 } 3271 attachmentsModule.AttachObject(presence, grp, (uint)attachment, false);
3272 } 3272 }
3273 } 3273 }
3274 3274