aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorlbsa712008-03-07 14:26:27 +0000
committerlbsa712008-03-07 14:26:27 +0000
commitf76bc24de767d75ec4c66ab836df684d12ebe5af (patch)
tree952477de5e5b482078cd382cc1e29ad28554c036 /OpenSim/Region
parent* Minor spelling corrections as per mantis 712 (diff)
downloadopensim-SC_OLD-f76bc24de767d75ec4c66ab836df684d12ebe5af.zip
opensim-SC_OLD-f76bc24de767d75ec4c66ab836df684d12ebe5af.tar.gz
opensim-SC_OLD-f76bc24de767d75ec4c66ab836df684d12ebe5af.tar.bz2
opensim-SC_OLD-f76bc24de767d75ec4c66ab836df684d12ebe5af.tar.xz
* Applied patch #719 from lvoidpeng.
* Implements llGetOwnerKey Thanks, lvoidpeng!
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 9c7f868..7828834 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1429,6 +1429,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1429 public string llGetOwner() 1429 public string llGetOwner()
1430 { 1430 {
1431 m_host.AddScriptLPS(1); 1431 m_host.AddScriptLPS(1);
1432
1432 return m_host.ObjectOwner.ToString(); 1433 return m_host.ObjectOwner.ToString();
1433 } 1434 }
1434 1435
@@ -2009,8 +2010,8 @@ namespace OpenSim.Region.ScriptEngine.Common
2009 public string llGetOwnerKey(string id) 2010 public string llGetOwnerKey(string id)
2010 { 2011 {
2011 m_host.AddScriptLPS(1); 2012 m_host.AddScriptLPS(1);
2012 NotImplemented("llGetOwnerKey"); 2013
2013 return String.Empty; 2014 return m_host.OwnerID.ToString();
2014 } 2015 }
2015 2016
2016 public LSL_Types.Vector3 llGetCenterOfMass() 2017 public LSL_Types.Vector3 llGetCenterOfMass()