diff options
author | Melanie | 2012-07-15 20:41:10 +0200 |
---|---|---|
committer | Melanie | 2012-07-15 20:41:10 +0200 |
commit | 47f7cc9457bfc5c909290ac189b34dd3eceebe7f (patch) | |
tree | 978a6eed3863061ef2ed5c77fc7a2377bb667432 /OpenSim/Region | |
parent | Revert "Experimentally handle UseCircuitCode synchrnonously" (diff) | |
download | opensim-SC-47f7cc9457bfc5c909290ac189b34dd3eceebe7f.zip opensim-SC-47f7cc9457bfc5c909290ac189b34dd3eceebe7f.tar.gz opensim-SC-47f7cc9457bfc5c909290ac189b34dd3eceebe7f.tar.bz2 opensim-SC-47f7cc9457bfc5c909290ac189b34dd3eceebe7f.tar.xz |
Fix a sit rotation issue
Diffstat (limited to 'OpenSim/Region')
-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 d2dab6f..952d5da 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 = Quaternion.Conjugate(srot) * rot; // removed sit part offset rotation | 8065 | rot = 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(); |