From 8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 18 Sep 2008 18:54:42 +0000 Subject: * Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux) --- OpenSim/Region/Physics/Meshing/SculptMesh.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Physics/Meshing/SculptMesh.cs') diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs index d4bd65f..0f12739 100644 --- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs +++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs @@ -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); -- cgit v1.1