diff options
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Mesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Mesh.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Mesh.cs b/OpenSim/Region/Physics/Meshing/Mesh.cs index b19cf70..ceafaad 100644 --- a/OpenSim/Region/Physics/Meshing/Mesh.cs +++ b/OpenSim/Region/Physics/Meshing/Mesh.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
65 | { | 65 | { |
66 | // If a vertex of the triangle is not yet in the vertices list, | 66 | // If a vertex of the triangle is not yet in the vertices list, |
67 | // add it and set its index to the current index count | 67 | // add it and set its index to the current index count |
68 | if( !vertices.ContainsKey(triangle.v1) ) | 68 | if (!vertices.ContainsKey(triangle.v1)) |
69 | vertices[triangle.v1] = vertices.Count; | 69 | vertices[triangle.v1] = vertices.Count; |
70 | if (!vertices.ContainsKey(triangle.v2)) | 70 | if (!vertices.ContainsKey(triangle.v2)) |
71 | vertices[triangle.v2] = vertices.Count; | 71 | vertices[triangle.v2] = vertices.Count; |
@@ -154,7 +154,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
154 | { | 154 | { |
155 | //m_log.WarnFormat("vertices.Count = {0}", vertices.Count); | 155 | //m_log.WarnFormat("vertices.Count = {0}", vertices.Count); |
156 | result = new float[vertices.Count * 3]; | 156 | result = new float[vertices.Count * 3]; |
157 | foreach(KeyValuePair<Vertex, int> kvp in vertices) | 157 | foreach (KeyValuePair<Vertex, int> kvp in vertices) |
158 | { | 158 | { |
159 | Vertex v = kvp.Key; | 159 | Vertex v = kvp.Key; |
160 | int i = kvp.Value; | 160 | int i = kvp.Value; |