diff options
author | Melanie | 2010-10-29 20:34:53 +0200 |
---|---|---|
committer | Melanie | 2010-10-29 20:34:53 +0200 |
commit | 3231602b885556cc5327d2a3369a1b82fb01df95 (patch) | |
tree | 7ee3735bab14110381560b1d83670a7c6d6959e1 /OpenSim/Region/ScriptEngine/Shared | |
parent | Add a default alpha layer (diff) | |
download | opensim-SC-3231602b885556cc5327d2a3369a1b82fb01df95.zip opensim-SC-3231602b885556cc5327d2a3369a1b82fb01df95.tar.gz opensim-SC-3231602b885556cc5327d2a3369a1b82fb01df95.tar.bz2 opensim-SC-3231602b885556cc5327d2a3369a1b82fb01df95.tar.xz |
Revert "Preliminary work on appearance layers. No user functionality yet."
This reverts commit e6a8d2872c3ff4992cd7e9615f69e0c6773e461f.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 8f05359..2527757 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2187,14 +2187,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2187 | m_host.AddScriptLPS(1); | 2187 | m_host.AddScriptLPS(1); |
2188 | 2188 | ||
2189 | // try to let this work as in SL... | 2189 | // try to let this work as in SL... |
2190 | if (m_host.LinkNum < 2) | 2190 | if (m_host.ParentID == 0) |
2191 | { | 2191 | { |
2192 | // Special case: If we are root, rotate complete SOG to new | 2192 | // special case: If we are root, rotate complete SOG to new rotation |
2193 | // rotation. | ||
2194 | // We are root if the link number is 0 (single prim) or 1 | ||
2195 | // (root prim). ParentID may be nonzero in attachments and | ||
2196 | // using it would cause attachments and HUDs to rotate | ||
2197 | // to the wrong positions. | ||
2198 | SetRot(m_host, Rot2Quaternion(rot)); | 2193 | SetRot(m_host, Rot2Quaternion(rot)); |
2199 | } | 2194 | } |
2200 | else | 2195 | else |