aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-14 22:34:48 +0000
committerJustin Clark-Casey (justincc)2013-03-14 22:34:48 +0000
commita6f8638174dde7c32bef4659164a71b47c1c6c71 (patch)
treea96d537090a665e22597376af8aa576179b5fe09 /OpenSim/Region/ScriptEngine
parentFix minor race condition in llGetRootPosition() where inconsistent results co... (diff)
downloadopensim-SC_OLD-a6f8638174dde7c32bef4659164a71b47c1c6c71.zip
opensim-SC_OLD-a6f8638174dde7c32bef4659164a71b47c1c6c71.tar.gz
opensim-SC_OLD-a6f8638174dde7c32bef4659164a71b47c1c6c71.tar.bz2
opensim-SC_OLD-a6f8638174dde7c32bef4659164a71b47c1c6c71.tar.xz
refactor: use LSL_Rotation(Quaternion) constructor in lLGetRootRotation()
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
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 559744f..19eec71 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7859,7 +7859,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7859 } 7859 }
7860 else 7860 else
7861 q = m_host.ParentGroup.GroupRotation; // just the group rotation 7861 q = m_host.ParentGroup.GroupRotation; // just the group rotation
7862 return new LSL_Rotation(q.X, q.Y, q.Z, q.W); 7862
7863 return new LSL_Rotation(q);
7863 } 7864 }
7864 7865
7865 public LSL_String llGetObjectDesc() 7866 public LSL_String llGetObjectDesc()