"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out.
parent
934c54de5a
commit
2742be6675
|
@ -47,7 +47,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||||
dataTypes.Add("key", "string");
|
dataTypes.Add("key", "string");
|
||||||
dataTypes.Add("vector", "LSL_Types.Vector3");
|
dataTypes.Add("vector", "LSL_Types.Vector3");
|
||||||
dataTypes.Add("rotation", "LSL_Types.Quaternion");
|
dataTypes.Add("rotation", "LSL_Types.Quaternion");
|
||||||
dataTypes.Add("list", "list");
|
dataTypes.Add("list", "List");
|
||||||
dataTypes.Add("null", "null");
|
dataTypes.Add("null", "null");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
||||||
|
|
||||||
public int llRound(double f)
|
public int llRound(double f)
|
||||||
{
|
{
|
||||||
return (int) Math.Round(f, 3);
|
return (int) Math.Round(f, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
//This next group are vector operations involving squaring and square root. ckrinke
|
//This next group are vector operations involving squaring and square root. ckrinke
|
||||||
|
|
Loading…
Reference in New Issue