aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2017-05-20 22:21:27 +0100
committerUbitUmarov2017-05-20 22:21:27 +0100
commit046ec66ff9f5a3721d7135c8a472a36293940912 (patch)
tree7c20787a5a07c825fd464f6f0f1eb08623dd1ec3
parentmantis 8172: fix llList2Json() in case of vector or rotation types (diff)
downloadopensim-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.cs2
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);