diff options
-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) |