diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 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 a067868..2a2ef57 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8401,7 +8401,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8401 | 8401 | ||
8402 | public LSL_Vector llGetGeometricCenter() | 8402 | public LSL_Vector llGetGeometricCenter() |
8403 | { | 8403 | { |
8404 | return new LSL_Vector(m_host.GetGeometricCenter().X, m_host.GetGeometricCenter().Y, m_host.GetGeometricCenter().Z); | 8404 | Vector3 tmp = m_host.GetGeometricCenter(); |
8405 | return new LSL_Vector(tmp.X, tmp.Y, tmp.Z); | ||
8405 | } | 8406 | } |
8406 | 8407 | ||
8407 | public LSL_List llGetPrimitiveParams(LSL_List rules) | 8408 | public LSL_List llGetPrimitiveParams(LSL_List rules) |