diff options
author | Melanie Thielker | 2008-09-07 20:15:15 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-07 20:15:15 +0000 |
commit | e3338bac201cabe4f182526549bd442c5d1f2161 (patch) | |
tree | b8df56aa0dd537d2bb7debc88d16a14a0f171845 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Mantis #2142 (diff) | |
download | opensim-SC-e3338bac201cabe4f182526549bd442c5d1f2161.zip opensim-SC-e3338bac201cabe4f182526549bd442c5d1f2161.tar.gz opensim-SC-e3338bac201cabe4f182526549bd442c5d1f2161.tar.bz2 opensim-SC-e3338bac201cabe4f182526549bd442c5d1f2161.tar.xz |
Mantis #2138
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 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 | |||
2401 | public string llGetKey() | 2401 | public string llGetKey() |
2402 | { | 2402 | { |
2403 | m_host.AddScriptLPS(1); | 2403 | m_host.AddScriptLPS(1); |
2404 | return m_host.ToString(); | 2404 | return m_host.UUID.ToString(); |
2405 | } | 2405 | } |
2406 | 2406 | ||
2407 | public void llSetBuoyancy(double buoyancy) | 2407 | public void llSetBuoyancy(double buoyancy) |
@@ -2862,7 +2862,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2862 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); | 2862 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); |
2863 | if (part != null) | 2863 | if (part != null) |
2864 | { | 2864 | { |
2865 | return part.ToString(); | 2865 | return part.UUID.ToString(); |
2866 | } | 2866 | } |
2867 | else | 2867 | else |
2868 | { | 2868 | { |