From fb5f702e788b90d9c6f01e899aac2fbce0fe66a6 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 24 Mar 2009 22:12:48 +0000 Subject: Change llGetOwnerKey to use another overload of GetSceneObject. Fixes Mantis #3326 --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e6cc798..f47b3eb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId); + SceneObjectPart obj = World.GetSceneObjectPart(key); if (obj == null) return id; // the key is for an agent so just return the key else -- cgit v1.1