mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
system ints can end up in LSL lists, which can cause counter-intuitive unknown list element type errors in ConvertFromLSL (via modInvoke)
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
2fb89b5aac
commit
01972cc9e8
@@ -359,6 +359,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
result[i] = (string)(LSL_String)plist[i];
|
||||
else if (plist[i] is LSL_Integer)
|
||||
result[i] = (int)(LSL_Integer)plist[i];
|
||||
else if (plist[i] is int)
|
||||
result[i] = plist[i];
|
||||
else if (plist[i] is LSL_Float)
|
||||
result[i] = (float)(LSL_Float)plist[i];
|
||||
else if (plist[i] is LSL_Key)
|
||||
|
||||
Reference in New Issue
Block a user