diff options
Merge branch 'ubitwork' into avination
Diffstat (limited to '')
-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 6ee1a5d..0c28bf5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8527,7 +8527,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8527 | 8527 | ||
8528 | public LSL_Vector llGetGeometricCenter() | 8528 | public LSL_Vector llGetGeometricCenter() |
8529 | { | 8529 | { |
8530 | return new LSL_Vector(m_host.GetGeometricCenter().X, m_host.GetGeometricCenter().Y, m_host.GetGeometricCenter().Z); | 8530 | Vector3 tmp = m_host.GetGeometricCenter(); |
8531 | return new LSL_Vector(tmp.X, tmp.Y, tmp.Z); | ||
8531 | } | 8532 | } |
8532 | 8533 | ||
8533 | public LSL_List llGetPrimitiveParams(LSL_List rules) | 8534 | public LSL_List llGetPrimitiveParams(LSL_List rules) |