diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 267dc96..aca0132 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4877,8 +4877,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4877 | public LSL_Vector llGetCenterOfMass() | 4877 | public LSL_Vector llGetCenterOfMass() |
4878 | { | 4878 | { |
4879 | m_host.AddScriptLPS(1); | 4879 | m_host.AddScriptLPS(1); |
4880 | Vector3 center = m_host.GetCenterOfMass(); | 4880 | |
4881 | return new LSL_Vector(center.X,center.Y,center.Z); | 4881 | return new LSL_Vector(m_host.GetCenterOfMass()); |
4882 | } | 4882 | } |
4883 | 4883 | ||
4884 | public LSL_List llListSort(LSL_List src, int stride, int ascending) | 4884 | public LSL_List llListSort(LSL_List src, int stride, int ascending) |