Convert doubles passed back through the MOD interface into LSL_Floats
parent
ca7959c82f
commit
e6a97e9864
|
@ -266,6 +266,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
llist[i] = new LSL_Float((float)result[i]);
|
llist[i] = new LSL_Float((float)result[i]);
|
||||||
}
|
}
|
||||||
|
else if (result[i] is double)
|
||||||
|
{
|
||||||
|
llist[i] = new LSL_Float((double)result[i]);
|
||||||
|
}
|
||||||
else if (result[i] is UUID)
|
else if (result[i] is UUID)
|
||||||
{
|
{
|
||||||
llist[i] = new LSL_Key(result[i].ToString());
|
llist[i] = new LSL_Key(result[i].ToString());
|
||||||
|
|
Loading…
Reference in New Issue