* Applied patch #719 from lvoidpeng.

* Implements llGetOwnerKey
Thanks, lvoidpeng!
0.6.0-stable
lbsa71 2008-03-07 14:26:27 +00:00
parent 479379ee28
commit f76bc24de7
1 changed files with 3 additions and 2 deletions

View File

@ -1429,6 +1429,7 @@ namespace OpenSim.Region.ScriptEngine.Common
public string llGetOwner() public string llGetOwner()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
return m_host.ObjectOwner.ToString(); return m_host.ObjectOwner.ToString();
} }
@ -2009,8 +2010,8 @@ namespace OpenSim.Region.ScriptEngine.Common
public string llGetOwnerKey(string id) public string llGetOwnerKey(string id)
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
NotImplemented("llGetOwnerKey");
return String.Empty; return m_host.OwnerID.ToString();
} }
public LSL_Types.Vector3 llGetCenterOfMass() public LSL_Types.Vector3 llGetCenterOfMass()