Thank you, HomerHorwitz, for a patch that fixes llGetKey()
0.6.0-stable
Melanie Thielker 2008-09-07 20:15:15 +00:00
parent 58d79b33ff
commit e3338bac20
2 changed files with 4 additions and 4 deletions

View File

@ -2530,7 +2530,7 @@ namespace OpenSim.Region.ScriptEngine.Common
public string llGetKey() public string llGetKey()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
return m_host.ToString(); return m_host.UUID.ToString();
} }
public void llSetBuoyancy(double buoyancy) public void llSetBuoyancy(double buoyancy)
@ -2981,7 +2981,7 @@ namespace OpenSim.Region.ScriptEngine.Common
SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum);
if (part != null) if (part != null)
{ {
return part.ToString(); return part.UUID.ToString();
} }
else else
{ {

View File

@ -2401,7 +2401,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public string llGetKey() public string llGetKey()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
return m_host.ToString(); return m_host.UUID.ToString();
} }
public void llSetBuoyancy(double buoyancy) public void llSetBuoyancy(double buoyancy)
@ -2862,7 +2862,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum);
if (part != null) if (part != null)
{ {
return part.ToString(); return part.UUID.ToString();
} }
else else
{ {