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

httptests
UbitUmarov 2017-04-24 02:05:39 +01:00
parent 3b33a90e37
commit 65a1547209
1 changed files with 3 additions and 2 deletions

View File

@ -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