From f76bc24de767d75ec4c66ab836df684d12ebe5af Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 7 Mar 2008 14:26:27 +0000 Subject: * Applied patch #719 from lvoidpeng. * Implements llGetOwnerKey Thanks, lvoidpeng! --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 9c7f868..7828834 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -1429,6 +1429,7 @@ namespace OpenSim.Region.ScriptEngine.Common public string llGetOwner() { m_host.AddScriptLPS(1); + return m_host.ObjectOwner.ToString(); } @@ -2009,8 +2010,8 @@ namespace OpenSim.Region.ScriptEngine.Common public string llGetOwnerKey(string id) { m_host.AddScriptLPS(1); - NotImplemented("llGetOwnerKey"); - return String.Empty; + + return m_host.OwnerID.ToString(); } public LSL_Types.Vector3 llGetCenterOfMass() -- cgit v1.1