diff options
author | Melanie | 2012-04-29 01:33:40 +0200 |
---|---|---|
committer | Melanie | 2012-04-29 01:33:40 +0200 |
commit | 174fa4a70f2622c65ef8d9488765b71c1fad345e (patch) | |
tree | 42e4de081e8ab4f673235471a3b5daf626a8828b /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Merge branch 'master' into careminster (diff) | |
parent | remove repeated set of group rotation to physics (diff) | |
download | opensim-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.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 | ||