fix (or actually break) llList2float() since LSL_Key is same as LSL_String, the case of invalid LSL_Key cannot be handle, since most likely it is a string
parent
3b33a90e37
commit
65a1547209
|
@ -5807,8 +5807,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
string s = item.ToString();
|
||||
if(UUID.TryParse(s, out uuidt))
|
||||
return Convert.ToDouble(new LSL_Integer(s).value);
|
||||
else
|
||||
return 0;
|
||||
// we can't do this because a string is also a LSL_Key for now :(
|
||||
// else
|
||||
// return 0;
|
||||
}
|
||||
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue