diff options
author | opensim mirror account | 2010-10-29 13:20:04 -0700 |
---|---|---|
committer | opensim mirror account | 2010-10-29 13:20:04 -0700 |
commit | 8d8a795b28c3955df309a4f8cfd3b092489cb15f (patch) | |
tree | 672d0d8327d521dfefb44dc5d7d1d49ed8642ee0 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Merge branch 'master' of /var/git/opensim/ (diff) | |
parent | Merge branch 'dev-appearance' (diff) | |
download | opensim-SC_OLD-8d8a795b28c3955df309a4f8cfd3b092489cb15f.zip opensim-SC_OLD-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.gz opensim-SC_OLD-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.bz2 opensim-SC_OLD-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.xz |
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index efd7e22..1a13dea 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2003,14 +2003,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2003 | m_host.AddScriptLPS(1); | 2003 | m_host.AddScriptLPS(1); |
2004 | 2004 | ||
2005 | // try to let this work as in SL... | 2005 | // try to let this work as in SL... |
2006 | if (m_host.LinkNum < 2) | 2006 | if (m_host.ParentID == 0) |
2007 | { | 2007 | { |
2008 | // Special case: If we are root, rotate complete SOG to new | 2008 | // special case: If we are root, rotate complete SOG to new rotation |
2009 | // rotation. | ||
2010 | // We are root if the link number is 0 (single prim) or 1 | ||
2011 | // (root prim). ParentID may be nonzero in attachments and | ||
2012 | // using it would cause attachments and HUDs to rotate | ||
2013 | // to the wrong positions. | ||
2014 | SetRot(m_host, Rot2Quaternion(rot)); | 2009 | SetRot(m_host, Rot2Quaternion(rot)); |
2015 | } | 2010 | } |
2016 | else | 2011 | else |