diff options
author | Melanie Thielker | 2010-08-02 00:54:58 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-02 00:54:58 +0200 |
commit | 16e90809a92095f1d0f3a54ca3a7def6dd5ae3b1 (patch) | |
tree | 69950d9e0ed8853f18a9d6ab13ea41eb51377525 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-16e90809a92095f1d0f3a54ca3a7def6dd5ae3b1.zip opensim-SC-16e90809a92095f1d0f3a54ca3a7def6dd5ae3b1.tar.gz opensim-SC-16e90809a92095f1d0f3a54ca3a7def6dd5ae3b1.tar.bz2 opensim-SC-16e90809a92095f1d0f3a54ca3a7def6dd5ae3b1.tar.xz |
Remove the (wrong) implementation if llPointAt. It never worked on the LL
grid and is officially deprecated. There is no way to rotate an avatar
programmatically.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-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) |