aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie2012-04-29 01:33:40 +0200
committerMelanie2012-04-29 01:33:40 +0200
commit174fa4a70f2622c65ef8d9488765b71c1fad345e (patch)
tree42e4de081e8ab4f673235471a3b5daf626a8828b /OpenSim/Region/ScriptEngine/Shared/Api
parentMerge branch 'master' into careminster (diff)
parent remove repeated set of group rotation to physics (diff)
downloadopensim-SC-174fa4a70f2622c65ef8d9488765b71c1fad345e.zip
opensim-SC-174fa4a70f2622c65ef8d9488765b71c1fad345e.tar.gz
opensim-SC-174fa4a70f2622c65ef8d9488765b71c1fad345e.tar.bz2
opensim-SC-174fa4a70f2622c65ef8d9488765b71c1fad345e.tar.xz
Merge branch 'avination'
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 5a5f2e1..3fe5780 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5237,7 +5237,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5237 public LSL_Vector llGetCenterOfMass() 5237 public LSL_Vector llGetCenterOfMass()
5238 { 5238 {
5239 m_host.AddScriptLPS(1); 5239 m_host.AddScriptLPS(1);
5240 Vector3 center = m_host.GetGeometricCenter(); 5240 Vector3 center = m_host.GetCenterOfMass();
5241 return new LSL_Vector(center.X,center.Y,center.Z); 5241 return new LSL_Vector(center.X,center.Y,center.Z);
5242 } 5242 }
5243 5243