diff options
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.cs | 9 |
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) |