aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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)