mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Convert doubles passed back through the MOD interface into LSL_Floats
This commit is contained in:
@@ -266,6 +266,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
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)
|
||||
{
|
||||
llist[i] = new LSL_Key(result[i].ToString());
|
||||
|
||||
Reference in New Issue
Block a user