Revert "Preliminary work on appearance layers. No user functionality yet."

This work conflicts with cmickeyb's more extensive, related work

This reverts commit 9c829c0410.
This commit is contained in:
Melanie
2010-10-29 20:17:59 +01:00
parent 9c829c0410
commit e6fe83cd93
4 changed files with 260 additions and 234 deletions

View File

@@ -2003,14 +2003,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.AddScriptLPS(1);
// try to let this work as in SL...
if (m_host.LinkNum < 2)
if (m_host.ParentID == 0)
{
// Special case: If we are root, rotate complete SOG to new
// rotation.
// We are root if the link number is 0 (single prim) or 1
// (root prim). ParentID may be nonzero in attachments and
// using it would cause attachments and HUDs to rotate
// to the wrong positions.
// special case: If we are root, rotate complete SOG to new rotation
SetRot(m_host, Rot2Quaternion(rot));
}
else