fixing bug where last element in list is ignored
parent
cd8c8d78a9
commit
8f39268761
|
@ -1064,7 +1064,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
{
|
{
|
||||||
list ret = new list();
|
list ret = new list();
|
||||||
double entry;
|
double entry;
|
||||||
for (int i = 0; i < src.Data.Length - 1; i++)
|
for (int i = 0; i < src.Data.Length; i++)
|
||||||
{
|
{
|
||||||
if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry))
|
if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue