aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorteravus2013-01-01 23:11:46 -0500
committerteravus2013-01-01 23:11:46 -0500
commitf9148e5fc7178fe24323a67d8e26ba4a04a4a9e3 (patch)
tree39ab9b985f6641bf04ec85d8dd8da54f18dbb58c /OpenSim/Region
parent* Fixes the attachment scripted rotation bug. The problem is the code was r... (diff)
downloadopensim-SC-f9148e5fc7178fe24323a67d8e26ba4a04a4a9e3.zip
opensim-SC-f9148e5fc7178fe24323a67d8e26ba4a04a4a9e3.tar.gz
opensim-SC-f9148e5fc7178fe24323a67d8e26ba4a04a4a9e3.tar.bz2
opensim-SC-f9148e5fc7178fe24323a67d8e26ba4a04a4a9e3.tar.xz
* This is actually the fix described the last commit.. I had commented it out to see if the problem had affected all attachments or just HUD attachments.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index a559683..1fe095b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2363,7 +2363,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2363 // RootPart != null should shortcircuit 2363 // RootPart != null should shortcircuit
2364 2364
2365 // try to let this work as in SL... 2365 // try to let this work as in SL...
2366 if (m_host.ParentID == 0 ) //|| (rootPart != null && m_host.LocalId == rootPart.LocalId)) 2366 if (m_host.ParentID == 0 || (rootPart != null && m_host.LocalId == rootPart.LocalId))
2367 { 2367 {
2368 // special case: If we are root, rotate complete SOG to new rotation 2368 // special case: If we are root, rotate complete SOG to new rotation
2369 SetRot(m_host, rot); 2369 SetRot(m_host, rot);