aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 22:35:41 +0000
committerJustin Clark-Casey (justincc)2013-03-14 22:35:41 +0000
commitb23009e480cee996d2d2808b22ea4dfd76a45e03 (patch)
tree300187518f9ff97bfff553775a8803732ef9cde3 /OpenSim
parentrefactor: use LSL_Rotation(Quaternion) constructor in lLGetRootRotation() (diff)
downloadopensim-SC_OLD-b23009e480cee996d2d2808b22ea4dfd76a45e03.zip
opensim-SC_OLD-b23009e480cee996d2d2808b22ea4dfd76a45e03.tar.gz
opensim-SC_OLD-b23009e480cee996d2d2808b22ea4dfd76a45e03.tar.bz2
opensim-SC_OLD-b23009e480cee996d2d2808b22ea4dfd76a45e03.tar.xz
Fix minor race condition in llGetGeometricCenter() if this was changing whilst the function was called.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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 19eec71..deaaa8a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7967,7 +7967,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7967 7967
7968 public LSL_Vector llGetGeometricCenter() 7968 public LSL_Vector llGetGeometricCenter()
7969 { 7969 {
7970 return new LSL_Vector(m_host.GetGeometricCenter().X, m_host.GetGeometricCenter().Y, m_host.GetGeometricCenter().Z); 7970 return new LSL_Vector(m_host.GetGeometricCenter());
7971 } 7971 }
7972 7972
7973 public LSL_List llGetPrimitiveParams(LSL_List rules) 7973 public LSL_List llGetPrimitiveParams(LSL_List rules)