aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMike Rieker2010-12-18 23:29:49 +0000
committerMike Rieker2010-12-18 23:29:49 +0000
commit7a78de8105f328fce44027f98f5e702e94f0beaa (patch)
tree8c1a785fbd9898f2c17162fd823e626a28372f7f /OpenSim/Region/ScriptEngine/Shared
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-7a78de8105f328fce44027f98f5e702e94f0beaa.zip
opensim-SC_OLD-7a78de8105f328fce44027f98f5e702e94f0beaa.tar.gz
opensim-SC_OLD-7a78de8105f328fce44027f98f5e702e94f0beaa.tar.bz2
opensim-SC_OLD-7a78de8105f328fce44027f98f5e702e94f0beaa.tar.xz
fix 'system.exception: unknown type in list.size: system.uint32'
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index a3a2fdf..5fd5bcf 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -459,6 +459,8 @@ namespace OpenSim.Region.ScriptEngine.Shared
459 size += 64; 459 size += 64;
460 else if (o is int) 460 else if (o is int)
461 size += 4; 461 size += 4;
462 else if (o is uint)
463 size += 4;
462 else if (o is string) 464 else if (o is string)
463 size += ((string)o).Length; 465 size += ((string)o).Length;
464 else if (o is float) 466 else if (o is float)