diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ba42678..39f620b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2004,10 +2004,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2004 | q = avatar.Rotation; // Currently infrequently updated so may be inaccurate | 2004 | q = avatar.Rotation; // Currently infrequently updated so may be inaccurate |
2005 | } | 2005 | } |
2006 | else | 2006 | else |
2007 | q = part.ParentGroup.GroupRotation; // Likely never get here but just in case | 2007 | q = part.ParentGroup.Rotation; // Likely never get here but just in case |
2008 | } | 2008 | } |
2009 | else | 2009 | else |
2010 | q = part.ParentGroup.GroupRotation; // just the group rotation | 2010 | q = part.ParentGroup.Rotation; // just the group rotation |
2011 | return new LSL_Rotation(q.X, q.Y, q.Z, q.W); | 2011 | return new LSL_Rotation(q.X, q.Y, q.Z, q.W); |
2012 | } | 2012 | } |
2013 | q = part.GetWorldRotation(); | 2013 | q = part.GetWorldRotation(); |
@@ -7171,10 +7171,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7171 | else | 7171 | else |
7172 | q = avatar.Rotation; // Currently infrequently updated so may be inaccurate | 7172 | q = avatar.Rotation; // Currently infrequently updated so may be inaccurate |
7173 | else | 7173 | else |
7174 | q = m_host.ParentGroup.GroupRotation; // Likely never get here but just in case | 7174 | q = m_host.ParentGroup.Rotation; // Likely never get here but just in case |
7175 | } | 7175 | } |
7176 | else | 7176 | else |
7177 | q = m_host.ParentGroup.GroupRotation; // just the group rotation | 7177 | q = m_host.ParentGroup.Rotation; // just the group rotation |
7178 | return new LSL_Rotation(q.X, q.Y, q.Z, q.W); | 7178 | return new LSL_Rotation(q.X, q.Y, q.Z, q.W); |
7179 | } | 7179 | } |
7180 | 7180 | ||