aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 8e73eb1..6ee1a5d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5370,7 +5370,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5370 public LSL_Vector llGetCenterOfMass() 5370 public LSL_Vector llGetCenterOfMass()
5371 { 5371 {
5372 m_host.AddScriptLPS(1); 5372 m_host.AddScriptLPS(1);
5373 Vector3 center = m_host.GetGeometricCenter(); 5373 Vector3 center = m_host.GetCenterOfMass();
5374 return new LSL_Vector(center.X,center.Y,center.Z); 5374 return new LSL_Vector(center.X,center.Y,center.Z);
5375 } 5375 }
5376 5376