mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user