"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out.

afrisby
Charles Krinke 2007-12-09 21:52:01 +00:00
parent 934c54de5a
commit 2742be6675
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
dataTypes.Add("key", "string");
dataTypes.Add("vector", "LSL_Types.Vector3");
dataTypes.Add("rotation", "LSL_Types.Quaternion");
dataTypes.Add("list", "list");
dataTypes.Add("list", "List");
dataTypes.Add("null", "null");
}

View File

@ -163,7 +163,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
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