From e3338bac201cabe4f182526549bd442c5d1f2161 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 7 Sep 2008 20:15:15 +0000 Subject: Mantis #2138 Thank you, HomerHorwitz, for a patch that fixes llGetKey() --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 4 ++-- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 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 509c866..937ac70 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -2530,7 +2530,7 @@ namespace OpenSim.Region.ScriptEngine.Common public string llGetKey() { m_host.AddScriptLPS(1); - return m_host.ToString(); + return m_host.UUID.ToString(); } public void llSetBuoyancy(double buoyancy) @@ -2981,7 +2981,7 @@ namespace OpenSim.Region.ScriptEngine.Common SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); if (part != null) { - return part.ToString(); + return part.UUID.ToString(); } else { diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 95c0fdd..f67f422 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2401,7 +2401,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public string llGetKey() { m_host.AddScriptLPS(1); - return m_host.ToString(); + return m_host.UUID.ToString(); } public void llSetBuoyancy(double buoyancy) @@ -2862,7 +2862,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); if (part != null) { - return part.ToString(); + return part.UUID.ToString(); } else { -- cgit v1.1