aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2014-11-14 06:28:48 +0000
committerUbitUmarov2014-11-14 06:28:48 +0000
commit140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c (patch)
treeaf29de077f469f5c0c79044125a88c49d58736dc
parentMerge branch 'avination-current' (diff)
downloadopensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.zip
opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.gz
opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.bz2
opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.xz
n llPushObject if pushed object is a avatar use its rotation, not pusher
rotation
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 2 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 eb6cf23..702993b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5081,7 +5081,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5081 { 5081 {
5082 if (local != 0) 5082 if (local != 0)
5083 { 5083 {
5084 applied_linear_impulse *= m_host.GetWorldRotation(); 5084// applied_linear_impulse *= m_host.GetWorldRotation();
5085 applied_linear_impulse *= pusheeav.GetWorldRotation();
5085 } 5086 }
5086 5087
5087 pa.AddForce(applied_linear_impulse, true); 5088 pa.AddForce(applied_linear_impulse, true);