* Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux)

This commit is contained in:
Justin Clarke Casey
2008-09-18 18:54:42 +00:00
parent 6cfe4784cb
commit 8ff1bc5b03
4 changed files with 8 additions and 11 deletions

View File

@@ -81,9 +81,8 @@ namespace OpenSim.Region.Physics.Meshing
idata.Dispose();
}
}
}
private Vertex ColorToVertex(Color input)
{
return new Vertex(
@@ -91,6 +90,7 @@ namespace OpenSim.Region.Physics.Meshing
((float)input.G - 128) / RANGE,
((float)input.B - 128) / RANGE);
}
private void LoadPoles()
{
northpole = new Vertex(0, 0, 0);
@@ -144,6 +144,7 @@ namespace OpenSim.Region.Physics.Meshing
return lod;
}
}
private void DoLOD()
{
int x_max = Math.Min(Scale, bBitmap.Width);
@@ -199,13 +200,14 @@ namespace OpenSim.Region.Physics.Meshing
}
}
public void clearStuff()
{
this.triangles.Clear();
this.vertices.Clear();
//normals = new float[0];
}
public void processSculptTexture()
{
int x_max = Math.Min(Scale, bBitmap.Width);