Somehow llList2Float never made it into LSL_BaseClass and LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395)
parent
6ed5283bc0
commit
31576c8a26
|
@ -1864,6 +1864,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
m_LSL_Functions.osRegionNotice(msg);
|
m_LSL_Functions.osRegionNotice(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public double llList2Float(LSL_Types.list src, int index)
|
||||||
|
{
|
||||||
|
return m_LSL_Functions.llList2Float(src, index);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// LSL CONSTANTS
|
// LSL CONSTANTS
|
||||||
|
|
|
@ -1814,7 +1814,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
return Convert.ToSingle(src.Data[index]);
|
return Convert.ToDouble(src.Data[index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public string llList2String(LSL_Types.list src, int index)
|
public string llList2String(LSL_Types.list src, int index)
|
||||||
|
|
|
@ -354,6 +354,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
//wiki: integer llList2Integer(list src, integer index)
|
//wiki: integer llList2Integer(list src, integer index)
|
||||||
int llList2Integer(LSL_Types.list src, int index);
|
int llList2Integer(LSL_Types.list src, int index);
|
||||||
//wiki: double llList2double(list src, integer index)
|
//wiki: double llList2double(list src, integer index)
|
||||||
|
double llList2Float(LSL_Types.list src, int index);
|
||||||
double osList2Double(LSL_Types.list src, int index);
|
double osList2Double(LSL_Types.list src, int index);
|
||||||
//wiki: string llList2String(list src, integer index)
|
//wiki: string llList2String(list src, integer index)
|
||||||
string llList2String(LSL_Types.list src, int index);
|
string llList2String(LSL_Types.list src, int index);
|
||||||
|
|
Loading…
Reference in New Issue