diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs index 60bb107..a181dbe 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs | |||
@@ -366,15 +366,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
366 | else if (plist[i] is LSL_Key) | 366 | else if (plist[i] is LSL_Key) |
367 | result[i] = new UUID((LSL_Key)plist[i]); | 367 | result[i] = new UUID((LSL_Key)plist[i]); |
368 | else if (plist[i] is LSL_Rotation) | 368 | else if (plist[i] is LSL_Rotation) |
369 | { | 369 | result[i] = (Quaternion)((LSL_Rotation)plist[i]); |
370 | result[i] = (OpenMetaverse.Quaternion)( | ||
371 | (LSL_Rotation)plist[i]); | ||
372 | } | ||
373 | else if (plist[i] is LSL_Vector) | 370 | else if (plist[i] is LSL_Vector) |
374 | { | 371 | result[i] = (Vector3)((LSL_Vector)plist[i]); |
375 | result[i] = (OpenMetaverse.Vector3)( | ||
376 | (LSL_Vector)plist[i]); | ||
377 | } | ||
378 | else | 372 | else |
379 | MODError(String.Format("{0}: unknown LSL list element type", fname)); | 373 | MODError(String.Format("{0}: unknown LSL list element type", fname)); |
380 | } | 374 | } |