diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 4d542d50..87298e3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2231,8 +2231,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2231 | public LSL_Integer llRotTarget(LSL_Rotation rot, double error) | 2231 | public LSL_Integer llRotTarget(LSL_Rotation rot, double error) |
2232 | { | 2232 | { |
2233 | m_host.AddScriptLPS(1); | 2233 | m_host.AddScriptLPS(1); |
2234 | return m_host.ParentGroup.registerRotTargetWaypoint( | 2234 | return m_host.ParentGroup.registerRotTargetWaypoint(rot, (float)error); |
2235 | new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s), (float)error); | ||
2236 | } | 2235 | } |
2237 | 2236 | ||
2238 | public void llRotTargetRemove(int number) | 2237 | public void llRotTargetRemove(int number) |
@@ -10531,7 +10530,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
10531 | else | 10530 | else |
10532 | rot = obj.GetWorldRotation(); | 10531 | rot = obj.GetWorldRotation(); |
10533 | 10532 | ||
10534 | LSL_Rotation objrot = new LSL_Rotation(rot.X, rot.Y, rot.Z, rot.W); | 10533 | LSL_Rotation objrot = new LSL_Rotation(rot); |
10535 | ret.Add(objrot); | 10534 | ret.Add(objrot); |
10536 | } | 10535 | } |
10537 | break; | 10536 | break; |