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/Common | |
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/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
2530 | public string llGetKey() | 2530 | public string llGetKey() |
2531 | { | 2531 | { |
2532 | m_host.AddScriptLPS(1); | 2532 | m_host.AddScriptLPS(1); |
2533 | return m_host.ToString(); | 2533 | return m_host.UUID.ToString(); |
2534 | } | 2534 | } |
2535 | 2535 | ||
2536 | public void llSetBuoyancy(double buoyancy) | 2536 | public void llSetBuoyancy(double buoyancy) |
@@ -2981,7 +2981,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2981 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); | 2981 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); |
2982 | if (part != null) | 2982 | if (part != null) |
2983 | { | 2983 | { |
2984 | return part.ToString(); | 2984 | return part.UUID.ToString(); |
2985 | } | 2985 | } |
2986 | else | 2986 | else |
2987 | { | 2987 | { |