diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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 | ||