diff options
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 72c5d7f..5a04a8e 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -1530,7 +1530,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
1530 | ) | 1530 | ) |
1531 | { | 1531 | { |
1532 | #if SPAM | 1532 | #if SPAM |
1533 | System.Console.WriteLine( "reverting to geodesic sphere for prim: " + primName ); | 1533 | System.Console.WriteLine("reverting to geodesic sphere for prim: " + primName); |
1534 | #endif | 1534 | #endif |
1535 | return CreateSphereMesh(primName, primShape, size); | 1535 | return CreateSphereMesh(primName, primShape, size); |
1536 | } | 1536 | } |
@@ -1802,10 +1802,13 @@ namespace OpenSim.Region.Physics.Meshing | |||
1802 | #if SPAM | 1802 | #if SPAM |
1803 | int vCount = 0; | 1803 | int vCount = 0; |
1804 | 1804 | ||
1805 | foreach ( Vertex v in result.vertices ) | 1805 | foreach (Vertex v in result.vertices) |
1806 | if ( v != null ) | 1806 | { |
1807 | if (v != null) | ||
1807 | vCount++; | 1808 | vCount++; |
1808 | System.Console.WriteLine( "Mesh vertex count: " + vCount.ToString()); | 1809 | } |
1810 | |||
1811 | System.Console.WriteLine("Mesh vertex count: " + vCount.ToString()); | ||
1809 | #endif | 1812 | #endif |
1810 | 1813 | ||
1811 | return result; | 1814 | return result; |