aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2010-01-11 02:01:23 +0000
committerMelanie2010-01-11 02:01:23 +0000
commit0ae861d7d7055e8765bcc2ff6c592a65a5d6510d (patch)
treed3b9c168f3c78fdf5ae9ec19684f4a460bdc5368 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentMerge branch 'master' into careminster (diff)
parentAdds llRotTarget and the events at_rot_target and not_at_rot_target. (diff)
downloadopensim-SC_OLD-0ae861d7d7055e8765bcc2ff6c592a65a5d6510d.zip
opensim-SC_OLD-0ae861d7d7055e8765bcc2ff6c592a65a5d6510d.tar.gz
opensim-SC_OLD-0ae861d7d7055e8765bcc2ff6c592a65a5d6510d.tar.bz2
opensim-SC_OLD-0ae861d7d7055e8765bcc2ff6c592a65a5d6510d.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1469e7e..92e33b8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2214,15 +2214,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2214 2214
2215 public LSL_Integer llRotTarget(LSL_Rotation rot, double error) 2215 public LSL_Integer llRotTarget(LSL_Rotation rot, double error)
2216 { 2216 {
2217 m_host.AddScriptLPS(1); 2217 m_host.AddScriptLPS(1);
2218 NotImplemented("llRotTarget"); 2218 return m_host.registerRotTargetWaypoint(new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s), (float)error);
2219 return 0;
2220 } 2219 }
2221 2220
2222 public void llRotTargetRemove(int number) 2221 public void llRotTargetRemove(int number)
2223 { 2222 {
2224 m_host.AddScriptLPS(1); 2223 m_host.AddScriptLPS(1);
2225 NotImplemented("llRotTargetRemove"); 2224 m_host.unregisterRotTargetWaypoint(number);
2226 } 2225 }
2227 2226
2228 public void llMoveToTarget(LSL_Vector target, double tau) 2227 public void llMoveToTarget(LSL_Vector target, double tau)