fix 'system.exception: unknown type in list.size: system.uint32'

avinationmerge
Mike Rieker 2010-12-18 23:29:49 +00:00
parent a82112a47c
commit 7a78de8105
1 changed files with 2 additions and 0 deletions

View File

@ -459,6 +459,8 @@ namespace OpenSim.Region.ScriptEngine.Shared
size += 64; size += 64;
else if (o is int) else if (o is int)
size += 4; size += 4;
else if (o is uint)
size += 4;
else if (o is string) else if (o is string)
size += ((string)o).Length; size += ((string)o).Length;
else if (o is float) else if (o is float)