aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-02 00:54:58 +0200
committerMelanie2010-08-02 00:41:40 +0100
commit8e37e7eb07d55146f5c130dc3fd58c1b546e596b (patch)
tree55dab97b696d476cf697722170ca44008e6b4788 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentRenamed variables in RemoteAdmin plugin to be closer to the coding standards. (diff)
downloadopensim-SC-8e37e7eb07d55146f5c130dc3fd58c1b546e596b.zip
opensim-SC-8e37e7eb07d55146f5c130dc3fd58c1b546e596b.tar.gz
opensim-SC-8e37e7eb07d55146f5c130dc3fd58c1b546e596b.tar.bz2
opensim-SC-8e37e7eb07d55146f5c130dc3fd58c1b546e596b.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.cs6
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 525f0f0..ed63aee 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3248,17 +3248,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3248 public void llPointAt(LSL_Vector pos) 3248 public void llPointAt(LSL_Vector pos)
3249 { 3249 {
3250 m_host.AddScriptLPS(1); 3250 m_host.AddScriptLPS(1);
3251 ScenePresence Owner = World.GetScenePresence(m_host.UUID);
3252 LSL_Rotation rot = llEuler2Rot(pos);
3253 Owner.PreviousRotation = Owner.Rotation;
3254 Owner.Rotation = (new Quaternion((float)rot.x,(float)rot.y,(float)rot.z,(float)rot.s));
3255 } 3251 }
3256 3252
3257 public void llStopPointAt() 3253 public void llStopPointAt()
3258 { 3254 {
3259 m_host.AddScriptLPS(1); 3255 m_host.AddScriptLPS(1);
3260 ScenePresence Owner = m_host.ParentGroup.Scene.GetScenePresence(m_host.OwnerID);
3261 Owner.Rotation = Owner.PreviousRotation;
3262 } 3256 }
3263 3257
3264 public void llTargetOmega(LSL_Vector axis, double spinrate, double gain) 3258 public void llTargetOmega(LSL_Vector axis, double spinrate, double gain)