aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authoropensim mirror account2010-10-29 11:50:10 -0700
committeropensim mirror account2010-10-29 11:50:10 -0700
commit448b83b10549c6e9f5cf89f46d0283056d1c8f27 (patch)
tree8a3e4ec547afdec79c832d645208ba21e6a6c98e /OpenSim/Region
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentPreliminary work on appearance layers. No user functionality yet. (diff)
downloadopensim-SC_OLD-448b83b10549c6e9f5cf89f46d0283056d1c8f27.zip
opensim-SC_OLD-448b83b10549c6e9f5cf89f46d0283056d1c8f27.tar.gz
opensim-SC_OLD-448b83b10549c6e9f5cf89f46d0283056d1c8f27.tar.bz2
opensim-SC_OLD-448b83b10549c6e9f5cf89f46d0283056d1c8f27.tar.xz
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1a13dea..efd7e22 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2003,9 +2003,14 @@ 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.ParentID == 0) 2006 if (m_host.LinkNum < 2)
2007 { 2007 {
2008 // special case: If we are root, rotate complete SOG to new rotation 2008 // Special case: If we are root, rotate complete SOG to new
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.
2009 SetRot(m_host, Rot2Quaternion(rot)); 2014 SetRot(m_host, Rot2Quaternion(rot));
2010 } 2015 }
2011 else 2016 else