diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a05650a..53f899a 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1469,7 +1469,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1469 | else if (p[i] is Vector3) | 1469 | else if (p[i] is Vector3) |
1470 | lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]); | 1470 | lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]); |
1471 | else if (p[i] is Quaternion) | 1471 | else if (p[i] is Quaternion) |
1472 | lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W); | 1472 | lsl_p[i] = new LSL_Types.Quaternion((Quaternion)p[i]); |
1473 | else if (p[i] is float) | 1473 | else if (p[i] is float) |
1474 | lsl_p[i] = new LSL_Types.LSLFloat((float)p[i]); | 1474 | lsl_p[i] = new LSL_Types.LSLFloat((float)p[i]); |
1475 | else | 1475 | else |
@@ -1495,7 +1495,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1495 | else if (p[i] is Vector3) | 1495 | else if (p[i] is Vector3) |
1496 | lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]); | 1496 | lsl_p[i] = new LSL_Types.Vector3((Vector3)p[i]); |
1497 | else if (p[i] is Quaternion) | 1497 | else if (p[i] is Quaternion) |
1498 | lsl_p[i] = new LSL_Types.Quaternion(((Quaternion)p[i]).X, ((Quaternion)p[i]).Y, ((Quaternion)p[i]).Z, ((Quaternion)p[i]).W); | 1498 | lsl_p[i] = new LSL_Types.Quaternion((Quaternion)p[i]); |
1499 | else if (p[i] is float) | 1499 | else if (p[i] is float) |
1500 | lsl_p[i] = new LSL_Types.LSLFloat((float)p[i]); | 1500 | lsl_p[i] = new LSL_Types.LSLFloat((float)p[i]); |
1501 | else | 1501 | else |