diff options
author | UbitUmarov | 2017-05-20 22:21:27 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-20 22:21:27 +0100 |
commit | 046ec66ff9f5a3721d7135c8a472a36293940912 (patch) | |
tree | 7c20787a5a07c825fd464f6f0f1eb08623dd1ec3 | |
parent | mantis 8172: fix llList2Json() in case of vector or rotation types (diff) | |
download | opensim-SC-046ec66ff9f5a3721d7135c8a472a36293940912.zip opensim-SC-046ec66ff9f5a3721d7135c8a472a36293940912.tar.gz opensim-SC-046ec66ff9f5a3721d7135c8a472a36293940912.tar.bz2 opensim-SC-046ec66ff9f5a3721d7135c8a472a36293940912.tar.xz |
fix a cast that makes LitJson unhappy
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 86ea437..af88e4f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -16756,7 +16756,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
16756 | retl.Add((LSL_String)((bool)elem ? ScriptBaseClass.JSON_TRUE : ScriptBaseClass.JSON_FALSE)); | 16756 | retl.Add((LSL_String)((bool)elem ? ScriptBaseClass.JSON_TRUE : ScriptBaseClass.JSON_FALSE)); |
16757 | return retl; | 16757 | return retl; |
16758 | case LitJson.JsonType.Double: | 16758 | case LitJson.JsonType.Double: |
16759 | retl.Add(new LSL_Float((float)elem)); | 16759 | retl.Add(new LSL_Float((double)elem)); |
16760 | return retl; | 16760 | return retl; |
16761 | case LitJson.JsonType.None: | 16761 | case LitJson.JsonType.None: |
16762 | retl.Add((LSL_String)ScriptBaseClass.JSON_NULL); | 16762 | retl.Add((LSL_String)ScriptBaseClass.JSON_NULL); |