Add a missing constand and fix ToDoubleList to not eat the last memeber
parent
4a56038d11
commit
722ae4f031
|
@ -373,6 +373,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
public const int PRIM_SCULPT_TYPE_TORUS = 2;
|
public const int PRIM_SCULPT_TYPE_TORUS = 2;
|
||||||
public const int PRIM_SCULPT_TYPE_PLANE = 3;
|
public const int PRIM_SCULPT_TYPE_PLANE = 3;
|
||||||
public const int PRIM_SCULPT_TYPE_CYLINDER = 4;
|
public const int PRIM_SCULPT_TYPE_CYLINDER = 4;
|
||||||
|
public const int PRIM_SCULPT_FLAG_INVERT = 64;
|
||||||
|
|
||||||
public const int MASK_BASE = 0;
|
public const int MASK_BASE = 0;
|
||||||
public const int MASK_OWNER = 1;
|
public const int MASK_OWNER = 1;
|
||||||
|
|
|
@ -1058,7 +1058,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