diff options
author | Melanie | 2012-07-15 20:48:32 +0200 |
---|---|---|
committer | Melanie | 2012-07-15 20:48:32 +0200 |
commit | ec40c545091c8df70eea0e79e2878b69c0a649d9 (patch) | |
tree | 011e01286a3750f9ad1e36fa3d173e98a6f57b50 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Fix a sit rotation issue (diff) | |
download | opensim-SC-ec40c545091c8df70eea0e79e2878b69c0a649d9.zip opensim-SC-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.gz opensim-SC-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.bz2 opensim-SC-ec40c545091c8df70eea0e79e2878b69c0a649d9.tar.xz |
Revert "Fix a sit rotation issue"
This reverts commit 47f7cc9457bfc5c909290ac189b34dd3eceebe7f.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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(); |