aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2012-07-15 20:48:32 +0200
committerMelanie2012-07-15 20:48:32 +0200
commitec40c545091c8df70eea0e79e2878b69c0a649d9 (patch)
tree011e01286a3750f9ad1e36fa3d173e98a6f57b50 /OpenSim
parentFix a sit rotation issue (diff)
downloadopensim-SC_OLD-ec40c545091c8df70eea0e79e2878b69c0a649d9.zip
opensim-SC_OLD-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.gz
opensim-SC_OLD-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.bz2
opensim-SC_OLD-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.xz
Revert "Fix a sit rotation issue"
This reverts commit 47f7cc9457bfc5c909290ac189b34dd3eceebe7f.
Diffstat (limited to 'OpenSim')
-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 952d5da..d2dab6f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8062,7 +8062,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8062 } 8062 }
8063 8063
8064 Quaternion srot = sitpart.RotationOffset; 8064 Quaternion srot = sitpart.RotationOffset;
8065 rot = srot * rot; // removed sit part offset rotation 8065 rot = Quaternion.Conjugate(srot) * rot; // removed sit part offset rotation
8066 av.Rotation = rot; 8066 av.Rotation = rot;
8067// av.SendAvatarDataToAllAgents(); 8067// av.SendAvatarDataToAllAgents();
8068 av.SendTerseUpdateToAllClients(); 8068 av.SendTerseUpdateToAllClients();