diff options
author | Melanie | 2012-05-02 00:33:56 +0200 |
---|---|---|
committer | Melanie | 2012-05-02 00:33:56 +0200 |
commit | 58d460542d592260877b2b2951616df3b974631d (patch) | |
tree | c52116f44b0d904b6755171549273a5577652e1c /OpenSim/Region/ScriptEngine | |
parent | Merge branch 'avination' (diff) | |
parent | Merge branch 'ubitwork' into avination (diff) | |
download | opensim-SC-58d460542d592260877b2b2951616df3b974631d.zip opensim-SC-58d460542d592260877b2b2951616df3b974631d.tar.gz opensim-SC-58d460542d592260877b2b2951616df3b974631d.tar.bz2 opensim-SC-58d460542d592260877b2b2951616df3b974631d.tar.xz |
Merge branch '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 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) |