diff options
author | Tom | 2010-08-02 21:56:30 -0700 |
---|---|---|
committer | Tom | 2010-08-02 21:56:30 -0700 |
commit | ecfea5fa69975b1fa02837cd74139c40b483b339 (patch) | |
tree | 92ac0578ec09aa3e5c4f978639ec5a042e2fc7d5 /OpenSim/Region | |
parent | Catch meshing error in Meshmerizer (diff) | |
parent | Remove the (wrong) implementation if llPointAt. It never worked on the LL (diff) | |
download | opensim-SC-ecfea5fa69975b1fa02837cd74139c40b483b339.zip opensim-SC-ecfea5fa69975b1fa02837cd74139c40b483b339.tar.gz opensim-SC-ecfea5fa69975b1fa02837cd74139c40b483b339.tar.bz2 opensim-SC-ecfea5fa69975b1fa02837cd74139c40b483b339.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c08c246..52d3285 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3517,17 +3517,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3517 | public void llPointAt(LSL_Vector pos) | 3517 | public void llPointAt(LSL_Vector pos) |
3518 | { | 3518 | { |
3519 | m_host.AddScriptLPS(1); | 3519 | m_host.AddScriptLPS(1); |
3520 | ScenePresence Owner = World.GetScenePresence(m_host.UUID); | ||
3521 | LSL_Rotation rot = llEuler2Rot(pos); | ||
3522 | Owner.PreviousRotation = Owner.Rotation; | ||
3523 | Owner.Rotation = (new Quaternion((float)rot.x,(float)rot.y,(float)rot.z,(float)rot.s)); | ||
3524 | } | 3520 | } |
3525 | 3521 | ||
3526 | public void llStopPointAt() | 3522 | public void llStopPointAt() |
3527 | { | 3523 | { |
3528 | m_host.AddScriptLPS(1); | 3524 | m_host.AddScriptLPS(1); |
3529 | ScenePresence Owner = m_host.ParentGroup.Scene.GetScenePresence(m_host.OwnerID); | ||
3530 | Owner.Rotation = Owner.PreviousRotation; | ||
3531 | } | 3525 | } |
3532 | 3526 | ||
3533 | public void llTargetOmega(LSL_Vector axis, double spinrate, double gain) | 3527 | public void llTargetOmega(LSL_Vector axis, double spinrate, double gain) |