diff options
author | UbitUmarov | 2017-06-16 02:43:36 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-16 02:43:36 +0100 |
commit | 10d526f961b9dfea47019f9b9ff4e21df5693b53 (patch) | |
tree | d4832523e2b006f267f219d44b016545db9b7496 /OpenSim/Capabilities/LLSDHelpers.cs | |
parent | Merge branch 'master' into httptests (diff) | |
parent | change the clock source for EnvironmentTickCount so it does get a bit more r... (diff) | |
download | opensim-SC-10d526f961b9dfea47019f9b9ff4e21df5693b53.zip opensim-SC-10d526f961b9dfea47019f9b9ff4e21df5693b53.tar.gz opensim-SC-10d526f961b9dfea47019f9b9ff4e21df5693b53.tar.bz2 opensim-SC-10d526f961b9dfea47019f9b9ff4e21df5693b53.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Capabilities/LLSDHelpers.cs')
-rw-r--r-- | OpenSim/Capabilities/LLSDHelpers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/LLSDHelpers.cs b/OpenSim/Capabilities/LLSDHelpers.cs index 8f1a40e..d582267 100644 --- a/OpenSim/Capabilities/LLSDHelpers.cs +++ b/OpenSim/Capabilities/LLSDHelpers.cs | |||
@@ -157,6 +157,11 @@ namespace OpenSim.Framework.Capabilities | |||
157 | // the LLSD map/array types in the array need to be deserialised | 157 | // the LLSD map/array types in the array need to be deserialised |
158 | // but first we need to know the right class to deserialise them into. | 158 | // but first we need to know the right class to deserialise them into. |
159 | } | 159 | } |
160 | else if(enumerator.Value is Boolean && field.FieldType == typeof(int) ) | ||
161 | { | ||
162 | int i = (bool)enumerator.Value ? 1 : 0; | ||
163 | field.SetValue(obj, (object)i); | ||
164 | } | ||
160 | else | 165 | else |
161 | { | 166 | { |
162 | field.SetValue(obj, enumerator.Value); | 167 | field.SetValue(obj, enumerator.Value); |