diff options
author | SignpostMarv | 2012-10-23 11:39:55 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-26 01:43:54 +0100 |
commit | ecdb88679e6bb59da13da0f3994cc42d8e84a30d (patch) | |
tree | 709a028af2aa481670d92ee9043c8bc8b0b1aa51 /OpenSim/Region | |
parent | system ints can end up in LSL lists, which can cause counter-intuitive unknow... (diff) | |
download | opensim-SC_OLD-ecdb88679e6bb59da13da0f3994cc42d8e84a30d.zip opensim-SC_OLD-ecdb88679e6bb59da13da0f3994cc42d8e84a30d.tar.gz opensim-SC_OLD-ecdb88679e6bb59da13da0f3994cc42d8e84a30d.tar.bz2 opensim-SC_OLD-ecdb88679e6bb59da13da0f3994cc42d8e84a30d.tar.xz |
Removing the apparently superfluous explicit namespace reference so that the if-else-if-else block in ConvertFromLSL can have a consistent appearance
Diffstat (limited to 'OpenSim/Region')
-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 | } |