aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 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 2533002..0cc3e8c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -10373,7 +10373,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
10373 m_host.TaskInventory.LockItemsForRead(false); 10373 m_host.TaskInventory.LockItemsForRead(false);
10374 10374
10375// ScenePresence presence = World.GetScenePresence(m_host.OwnerID); 10375// ScenePresence presence = World.GetScenePresence(m_host.OwnerID);
10376 ScenePresence presence = World.GetScenePresence(agentID); 10376 ScenePresence presence = World.GetScenePresence(m_item.PermsGranter);
10377 if (presence != null) 10377 if (presence != null)
10378 { 10378 {
10379 LSL_Vector pos = new LSL_Vector(presence.CameraPosition.X, presence.CameraPosition.Y, presence.CameraPosition.Z); 10379 LSL_Vector pos = new LSL_Vector(presence.CameraPosition.X, presence.CameraPosition.Y, presence.CameraPosition.Z);
@@ -10397,7 +10397,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
10397 m_host.TaskInventory.LockItemsForRead(false); 10397 m_host.TaskInventory.LockItemsForRead(false);
10398 10398
10399// ScenePresence presence = World.GetScenePresence(m_host.OwnerID); 10399// ScenePresence presence = World.GetScenePresence(m_host.OwnerID);
10400 ScenePresence presence = World.GetScenePresence(agentID); 10400 ScenePresence presence = World.GetScenePresence(m_item.PermsGranter);
10401 if (presence != null) 10401 if (presence != null)
10402 { 10402 {
10403 return new LSL_Rotation(presence.CameraRotation.X, presence.CameraRotation.Y, presence.CameraRotation.Z, presence.CameraRotation.W); 10403 return new LSL_Rotation(presence.CameraRotation.X, presence.CameraRotation.Y, presence.CameraRotation.Z, presence.CameraRotation.W);